intellij-ideaintellij-pluginannotation-processor

IntelliJ IDEA: Enable Annotation processors by default


How can I configure IntelliJ IDEA to have Annotation processors enabled by default?

Currently, I have to enable it manually for every imported project.

enable annotation processor


Solution

  • Current IDE version:

    File | New Projects Setup | Settings for New Projects..., navigate to the compiler settings, annotation processing and enable this option before importing the project.

    Previous versions:

    File | Other Settings | Default Settings, navigate to the compiler settings, annotation processing and enable this option before importing the project.