Plugin for [IntelliJ IDEA](http://plugins.jetbrains.com/plugin/6317?pr=idea plugin) to support Lombok annotations.
Provides support for lombok annotations to write great Java code with IntelliJ IDEA.
Last version (0.9.6) released on 14.07.2015
Fourteenth version of plugin released. Bugfixes and new features like onAnnotation and @Singular support!
Install it automatically from IntelliJ Idea plugin repository.
Tested and supports IntelliJ versions: 12.1.7, 13.1.6, and 14.1.4
Support for IntelliJ 11.1.5 by plugin version 0.9.1
Support for IntelliJ 10.5.4 by plugin version 0.8.7
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.
- @Getter and @Setter
- @ToString
- @EqualsAndHashCode
- @AllArgsConstructor, @RequiredArgsConstructor and @NoArgsConstructor
- @Log, @Log4j, @Log4j2, @Slf4j, @XSlf4j, @CommonsLog
- @Data
- @Builder
- @Singular
- @Delegate
- @Value
- @Accessors
- @Wither
- @SneakyThrows
- @val with IntelliJ 14.1
- lombok config files syntax highlighting
- code inspections
- refactoring actions (lombok and delombok)
- Using IDE built-in plugin system on Windows:
- File > Settings > Plugins > Browse repositories... > Search for "lombok" > Install Plugin
- Using IDE built-in plugin system on MacOs:
- Preferences > Settings > Plugins > Browse repositories... > Search for "lombok" > Install Plugin
- Manually:
- Download the latest release and install it manually using Preferences > Plugins > Install plugin from disk...
Restart IDE.
If you're using Eclipse compiler with lombok, try this setup:
- install plugin
- change compiler setting:
- ... > Compiler > Java Compiler > Use Compiler: Eclipse
- ... > Compiler > Annotation Processors > Enable annotation processing: checked (default configuration)
- ... > Compiler > Additional build process VM options: -javaagent:lombok.jar
[@mplushnikov Michail Plushnikov] (https://github.com/mplushnikov)
Contributors
- @twillouer William Delanoue
- @uvpoblotzki Ulrich von Poblotzki
- @toadzky David Harris
- @mlueders Mike Lueders
- @mg6maciej Maciej Górski
- @siosio siosio
- @Siriah Iris Hupkens
Copyright (c) 2011-2015 Michail Plushnikov. See the LICENSE file for license rights and limitations (BSD).