Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Lombok Annotations Support for VS CodeNew to Visual Studio Code? Get it now.

Lombok Annotations Support for VS Code

Microsoft

microsoft.com
|
651,359 installs
| (17) | Free
Refactor code with Lombok annotations, or remove Lombok annotations with actual methods.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Lombok logo vscode-lombok

VS Marketplace Installs

⚠️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 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.

Screenshot

Requirements

  • 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

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

Here are the supported annotations for lombok/delombok code actions.

  • @Getter and @Setter
  • @ToString
  • @EqualsAndHashCode
  • @AllArgsConstructor and @NoArgsConstructor
  • @Data

Data/Telemetry

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.

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.

I'm having issues

  • Contact us
  • Jobs
  • Privacy
  • Terms of use
  • Trademarks
© 2023 Microsoft