2

我想以编程方式重新运行(有一个命令也可以使用ctrl-f5)下面是idea中rhis按钮的图片

重新运行按钮

那么我怎样才能自己运行这个动作呢?

4

1 回答 1

2

from the answer on intellij idea development forum

Hi Evgeniy,

You should use ExecutionManager.restartRunProfile() for that.

Default IJ implementation achieves that via RestartAction (the one from your screenshot).

Denis

于 2013-05-18T07:16:51.940 回答