Intellij Idea plugin for Lombok

項目地址http://code.google.com/p/lombok-intellij-plugin/#IntelliJ_Idea_plugin_project_for_project. java


介紹: ide

Provides support for lombok annotations to write great java code with IntelliJ Idea. this

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. google

New version (0.5) released on 22.08.2012

Fifth version of plugin released. Now with support for IntelliJ 9, 10, 11, and 12! idea

Install it automatically from IntelliJ Idea plugin repository. spa

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! code

安裝方法及效果演示: ip

在idea的插件管理器中,點這個按鈕 get

而後在新彈出的窗口,搜索lombok,在搜索到的lombok上右鍵安裝就能夠了。

這個個人idea的版本是11.1.5旗艦版。不用這個插件的話,lombok的效果是看不到的,會報錯。

效果以下:

相關文章
相關標籤/搜索