A lightweight extension to support Lombok annotations processing for coc.nvim
-
Coc.nvim (version 0.0.80 or later)
-
Lombok added as a dependency in your Java Project (Make sure you're using the latest version to avoid issues!) Add with Maven or Add with Gradle
Install this extension by run command:
:CocInstall coc-lombok
Note: this extension would download latest lombok.jar for you when not found.
Note: You can manually download lombok.jar and extract the content to data
folder of coc-lombok, get the folder path by :echo coc#util#extension_root().'/coc-lombox-data/server'
in your vim.
The following commands are available:
java.updateLombok
: download latest lombok.jar from projectlombok.org.
- @Getter and @Setter
- @ToString
- @EqualsAndHashCode
- @AllArgsConstructor, @RequiredArgsConstructor and @NoArgsConstructor
- @Log
- @Slf4j
- @Data
- @Builder
- @Singular
- @Delegate
- @Value
- @Accessors
- @Wither
- @SneakyThrows
- @val
- @UtilityClass
- Run
:messages
to get echoed messages in vim.
MIT, See LICENSE for more information.