Andrii Abramov
Andrii Abramov

Reputation: 10751

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

Upvotes: 31

Views: 26275

Answers (2)

CrazyCoder
CrazyCoder

Reputation: 401877

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.

Upvotes: 48

AllwiN
AllwiN

Reputation: 813

Android Studio Hedgehog | 2023.1.1 Patch 1

from above version of Android Studio the position to Annotation Processor is as follows

enter image description here

Upvotes: 0

Related Questions