vscode-lombok
vscode-lombok copied to clipboard
Lombok Annotations Extension for Visual Studio Code
vscode-lombok
⚠️Starting from 1.8.0, the Language Support for Java(TM) by RedHat extension has built-in support for Lombok and automatically uses the lombok.jar from your project classpath. The embedded lombok.jar in the vscode-lombok extension will be deprecated in favor of RedHat Java extension.
Overview
https://marketplace.visualstudio.com/items?itemName=vscjava.vscode-lombok
A lightweight extension to support Lombok annotations processing in Visual Studio Code
Requirements
- VS Code (version 1.21.0 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
Open VS Code and press Ctrl + Shift + X
to open extension manager. Type lombok
and click install. Reload VS Code when asked.
Features / Supports
- @Getter and @Setter
- @ToString
- @EqualsAndHashCode
- @AllArgsConstructor, @RequiredArgsConstructor and @NoArgsConstructor
- @Log
- @Slf4j
- @Data
- @Builder
- @Singular
- @Delegate
- @Value
- @Accessors
- @Wither
- @SneakyThrows
- @val
- @UtilityClass
Credits
This project was originally started by @GabrielBB and is now currently maintained by Microsoft. Huge thanks to @GabrielBB who started it all and made this Lombok extension available.