Enable Annotation processors by default

Andrii Abramov picture Andrii Abramov · Jun 9, 2017 · Viewed 10k times · Source

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

Answer

CrazyCoder picture CrazyCoder · Jun 9, 2017

Current IDE version:

File | New Project Settings | 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.