question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. ItĀ collects links to all the places you might be looking at while hunting down a tough bug.

And, if youā€™re still stuck at the end, weā€™re happy to hop on a call to see how we can help out.

Plugin API: renamed execute to search?

See original GitHub issue

A 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:closed
  • Created 7 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
adnasacommented, Sep 11, 2016

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.

0reactions
vutrancommented, Oct 3, 2016

Closing.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found