Plugin API: renamed execute to search?
See original GitHub issueA bit going back on my words (#11) but it may make more sense to renamed execute
to search
.
This would allow us to use execute
in the future for executing a specific item.
Example would be something like this:
module.exports = {
search: q => {
items: [], // list of ietms
},
execute: item => {
// executes for the selected item...
},
};
This will be a breaking change but since itās still early, we should migrate and just alias/deprecate execute
.
Issue Analytics
- State:
- Created 7 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
Plugin to rename final datasets - Dataiku Community
Hello, Please, I need a plugin that renames all my final files of my project DSS stored in managed filesytem and put them...
Read more >Renaming resources in Maven - Stack Overflow
I went with the antrun plugin, with one execution in prepare-package phase to create the renamed .DS_Store , and another in verify phase...
Read more >Incompatible Changes in IntelliJ Platform and Plugins API 2021.
To support dynamic plugins. com.intellij.javaee.run.localRun.ExecutableObjectStartupPolicy class renamed to com.intellij.javaee.appServers.run.
Read more >Navigate the APIs
Scroll down the page to view the information for these APIs or use search to look for specific terms. Tenable Platform. Tenable Platform...
Read more >Artifactory REST API - JFrog - JFrog Documentation
You can test the move using dry run. Move item behaves similarly to a standard file system and supports renames. If the target...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I think migrating
execute
to a targeted item is a good idea and Iām all for this! šHowever, I donāt agree that
search
is the right term here because I donāt see <kbd>dext</kbd> only to be used for search purposes to different source, although thatās what we do today and so far a is a good first step.I would prefer
query
, because then it is ambiguous, generic and every plugin can interpret how they want to react to a query.Closing.