Is there a way to run only an “external tool” in a JetBrains “run configuration”

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-01 14:37:11

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.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!