IntelliJ: Launch Run-configuration from the embeded terminal

隐身守侯 提交于 2019-12-25 05:28:15

问题


Lets say I have run-config1 and run-config2 setup for my project in IntelliJ. I know there are ways of adding custom shell code to be perfomed before/after a build run, but that's not what I want to do.

Is there a way of calling them from the embedded terminal?


回答1:


As of IntelliJ IDEA 14 there is no such way. You can write a plugin for IntelliJ IDEA that will handle a command like "idea.sh run configuration-name" and start the run configuration in the existing instance, but this is fairly non-trivial.



来源:https://stackoverflow.com/questions/28584459/intellij-launch-run-configuration-from-the-embeded-terminal

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