Intellij IDEA – How to build project automatically

By default, Intellij IDEA doesn’t compile classes automatically. But, you can enable the auto compile feature by following steps :

  1. In “Project settings or preferences”
  2. Select “Build, Execution, Deployment -> Compiler”
  3. Checked Make project automatically

P.S This feature is available since IDEA 12


  1. Brand New Compiler Mode in IntelliJ IDEA 12

About the Author

author image
Founder of, love Java and open source stuff. Follow him on Twitter. If you like my tutorials, consider make a donation to these charities.


3 Comment threads
1 Thread replies
Most reacted comment
Hottest comment thread
3 Comment authors
Declan WhelanTaylor StinsonStephan Rauh Recent comment authors
newest oldest most voted
Intellij + Infinitest Continuous Testing

[…] Intellij IDEA – How to build project automatically […]

Stephan Rauh
Stephan Rauh

Note that the project is only built if the application isn’t running. In my eyes, that makes it almost useless.

Taylor Stinson
Taylor Stinson

Its meant for Unit testing mostly. Its very useful being able to type a few lines and check to see if a test goes green.

However what is annoying is that it doesn’t use a java-linter test before building wasting a lot of cycles.

Declan Whelan
Declan Whelan

Is there any way to make the setting turned on by default? I do this on every project and it would be nice to remove a manual step.