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
idea-build-project-automatically

P.S This feature is available since IDEA 12

References

  1. Brand New Compiler Mode in IntelliJ IDEA 12

4 comments on “Intellij IDEA – How to build project automatically

  1. 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.

    Reply
    1. 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.

      Reply

Leave a Comment

Your email address will not be published. Required fields are marked *