https://marketplace.visualstudio.com/items?itemName=vscjava.vscode-lombok
A lightweight extension based on Language Support for Java by Red Hat. Provide refactoring code actions to Lombok/Delombok annotations in your code.
- Lombok - Refactor code with Lombok annotations.
- Delombok - Remove annotations with actual methods.
- VS Code (version 1.65.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
Open VS Code and press Ctrl + Shift + X
to open extension manager. Type lombok
and click install. Reload VS Code when asked.
Here are the supported annotations for lombok/delombok code actions.
VS Code collects usage data and sends it to Microsoft to help improve our products and services. Read our privacy statement to learn more. If you don’t wish to send usage data to Microsoft, you can set the telemetry.enableTelemetry
setting to false
. Learn more in our FAQ.
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.