IntelliJ:从嵌入式终端启动Run-configuration [英] IntelliJ: Launch Run-configuration from the embeded terminal

查看:205
本文介绍了IntelliJ:从嵌入式终端启动Run-configuration的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

假设我在IntelliJ中为我的项目设置了 run-config1 run-config2
我知道有一些方法可以在构建运行之前/之后添加自定义shell代码,但这不是我想要做的。

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?

推荐答案

从IntelliJ IDEA 14开始,没有这种方法。您可以为IntelliJ IDEA编写一个插件来处理像idea.sh run configuration-name这样的命令,并在现有实例中启动运行配置,但这非常重要。

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.

这篇关于IntelliJ:从嵌入式终端启动Run-configuration的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆