Speed ​​up running compiled code in IntelliJ IDEA 13.1.5

Whenever I try to run a Java application with the setting "Run the default application", the "Make" process starts, regardless of whether there are any changes that require compilation or not. Without changes, the process still takes several seconds on my computer.

I tried to solve this problem by removing the position Makefrom the launch configuration and checking Make project automaticallyin the settings. Unfortunately, this solution gave rise to another problem: sometimes, when I make some changes and launch the application, the automatic assembly is not yet completed and the old version of the program is launched instead.

In other words, I would like to emulate the behavior of the Eclipse launch command:

  • If there are no changes, immediately launch the application (part of a second on my computer).
  • If there are any changes, compile them and run the application.

How can I do this in IntelliJ?

+4
source share
1 answer

If you use IntelliJ Ultimate, you can only vote at http://youtrack.jetbrains.com/issue/IDEA-128944

If you use the IntelliJ community, I have a workaround for you - https://www.reddit.com/r/IntelliJIDEA/comments/2g3by6/hacking_intellij_for_faster_compilation/

+1
source

All Articles