默认情况下启用注释处理器 [英] Enable Annotation processors by default

查看:280
本文介绍了默认情况下启用注释处理器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何配置IntelliJ IDEA使其默认启用注释处理器?

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

当前,我必须为每个导入的项目手动启用它.

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

推荐答案

File | Other Settings | Default Settings,在导入项目之前导航到编译器设置,注释处理并启用此选项.

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

这篇关于默认情况下启用注释处理器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆