Alle (or nearly all) \"run configurations\" in JetBrains IDEs provide an option to run an \"external tool\" as part of their execution. Is there a way to only run a
Not sure why you need it... I can suggest trying the Bash Support plugin (http://plugins.jetbrains.com/plugin/4230?pr=idea) - it has a kind of 'generic' run configuration that can be used for running arbitrary executable. See if it works for you. But note that it's a third-party plugin JetBrains is not responsible for
This has been a pain point for me for years. Here's my solution:
Run Configurations can be configured to invoke External Tools before launch, so the trick is to setup a run configuration that does absolutely nothing and then add your external tools to it.
Example: In WebStorm, I use an npm run configuration with the command set to version. Invoking this will cause all of the External Tool configurations in the Before Launch section to be executed (in order) before finally running npm version
, which just generates output to the npm console.