IntelliJ IDEA “Make project automatically” woes

后端 未结 4 1488
感情败类
感情败类 2021-01-01 16:17

Back in December I switched from Eclipse to IntelliJ IDEA but within a couple of days I switched back. Today I tried IntelliJ again and basically I have only one issue left.

相关标签:
4条回答
  • 2021-01-01 16:29

    I ended up creating a Macro which does the Save and the Make Build. I then assigned the Ctrl+S shortcut to this Macro and then it works fine.

    0 讨论(0)
  • 2021-01-01 16:32

    What if you just remap the keys from Ctrl+F9 to Ctrl+S? Basically you will just keep up with the habit of pressing Ctrl+S since you do that in Eclipse - just a matter of pressing a different key in IntelliJ.

    IntelliJ IDEA 12 indeed comes with out-of-process compiler which compiles the project classes automatically, but it seems to be unpredictable - you might refresh the page and the class is not yet compiled. So in the scenario with JRebel the off-process compilation is no use, unfortunately.

    0 讨论(0)
  • 2021-01-01 16:37

    This may not be exactly what you want but normally I leave auto-save on, and when I need to compile the current class I'm working on, I just do Ctrl + Shift + F9.

    0 讨论(0)
  • 2021-01-01 16:47

    My IntelliJ IDEA version is 2017.3.4, and I modified some values so that it compiles automatically.

    0 讨论(0)
提交回复
热议问题