mac上idea使用lombok

2018-09-17  本文已影响0人  王先森QAQ

下载lombok:https://github.com/mplushnikov/lombok-intellij-plugin/releases
安装:Preferences/Plugins/Install plugin from disk... ,选择下载的zip文件即可

提示信息:
Lombok Requires Annotation Processing Annotation processing seems to be disabled for the project "x'x'x'x'x". For the plugin to function correctly, please enable it under
"Settings > Build > Compiler > Annotation Processors"

1、点击Preferences/Build,Execution.../Annotation Processors
2、勾选Enable annotation processing

上一篇 下一篇

猜你喜欢

热点阅读