项目地址:http://code.google.com/p/lombok-intellij-plugin/#IntelliJ_Idea_plugin_project_for_project.
介绍:
Provides support for lombok annotations to write great java code with IntelliJ Idea.
With this plugin your IntelliJ can recognize all of generated getters, setters and some other things from lombok project, so that you get code completion and are able to work without errors stating the methods don't exists.
New version (0.5) released on 22.08.2012
Fifth version of plugin released. Now with support for IntelliJ 9, 10, 11, and 12!
Install it automatically from IntelliJ Idea plugin repository.
You can install it manually, just download, unzip to IntelliJ plugin directory and try out!
The plugin doesn't generate any code in your files, it's only providing support for lombok. You need still to have lombok.jar on the classpath to compile your project. You have to use a newest available version of lombok.jar, at least 0.10.1. Versions before 0.10.1 are not supported!
安装方法及效果演示:
在idea的插件管理器中,点这个按钮
然后在新弹出的窗口,搜索lombok,在搜索到的lombok上右键安装就可以了。
这个我的idea的版本是11.1.5旗舰版。不用这个插件的话,lombok的效果是看不到的,会报错。
效果如下:
来源:oschina
链接:https://my.oschina.net/u/200515/blog/98734