Intellij Idea plugin for Lombok

瘦欲@ 提交于 2019-11-27 05:55:47

项目地址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的效果是看不到的,会报错。

效果如下:

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!