从命令行调用Intellij Run/Debug配置?
我在我的喷气桥IDE中定义了一些运行/调试配置,并且显然您通常会按绿色的“播放”图标;
但是,我想将其与我在计算机上的脚本相结合,该脚本检测文件系统会更改并重新运行后台的一些验证步骤;
现在我想做的就是说'当CLI检测到某物是陈旧时,在IDE中开始运行/调试配置时。
因此,在伪式刺激中,
# if any "*.rs" file changes, press the green button in intellij;
watch-files *.rs -x "run-intellij-config 'check controlplane'
类似这样的事情可以在Intellij中调用任务吗?
I've got some Run/Debug Configurations defined in my JetBrains IDE, and to run them obviously you'd normally press the green 'play' icon;
However, I want to combine that with scripts I've got on my machine which detect file system changes and re-run some validation steps in the background;
Now what I'd like to do is to say something like 'when the CLI detects that something is stale, start the run/debug configuration in the IDE'.
So in pseudo-bash, something like
# if any "*.rs" file changes, press the green button in intellij;
watch-files *.rs -x "run-intellij-config 'check controlplane'
Is it possible to invoke tasks within IntelliJ like this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
目前无法做到这一点,请投票给 indue-157076 将在此功能请求的任何进度中通知
There is no way to do this currently, please vote for IDEA-157076 to be notified on any progress with this feature request