使用Alt+ Ctrl + Shift + /然后选择Register 勾选 compiler.automake.allow.when.app.running
Alt+ Ctrl + Shift + /
注意: idea版本高的话 会没有这个选项,可以进入setting高级设置中去勾选