Coder Social home page Coder Social logo

Comments (14)

leegohi avatar leegohi commented on May 25, 2024 6

I solved the problem that costs one day!!!
First ,show the project lombok version:
mvn help:effective-pom | grep lombok -A5 -B5
I find it is 1.18.2
but when I look vscode lombok version which version is 1.18.12
so,I change my project lombok version in pom.xml to 1.18.12. it's solved.
<dependency> <groupId>org.projectlombok</groupId><artifactId>lombok</artifactId> <version>1.18.12</version> </dependency>

from vscode-lombok.

pinkli avatar pinkli commented on May 25, 2024 2

yes I have the same issue.

from vscode-lombok.

bobogavin avatar bobogavin commented on May 25, 2024

vscode stable version and insider version both have the problem

from vscode-lombok.

bobogavin avatar bobogavin commented on May 25, 2024

vscode version 1.68.1

from vscode-lombok.

bobogavin avatar bobogavin commented on May 25, 2024

Version: 1.68.1 (user setup)
Commit: 30d9c6cd9483b2cc586687151bcbcd635f373630
Date: 2022-06-14T12:48:58.283Z
Electron: 17.4.7
Chromium: 98.0.4758.141
Node.js: 16.13.0
V8: 9.8.177.13-electron.0
OS: Windows_NT x64 10.0.19044

from vscode-lombok.

bobogavin avatar bobogavin commented on May 25, 2024

image

from vscode-lombok.

zmwxiaoming avatar zmwxiaoming commented on May 25, 2024

yes I have the same issue.

from vscode-lombok.

zmwxiaoming avatar zmwxiaoming commented on May 25, 2024

yes I have the same issue.

me too

from vscode-lombok.

zmwxiaoming avatar zmwxiaoming commented on May 25, 2024

版本: 1.68.1
提交: 30d9c6cd9483b2cc586687151bcbcd635f373630
日期: 2022-06-14T12:52:13.188Z (2 周前)
Electron: 17.4.7
Chromium: 98.0.4758.141
Node.js: 16.13.0
V8: 9.8.177.13-electron.0
OS: Darwin x64 20.3.0

from vscode-lombok.

Arisaematis avatar Arisaematis commented on May 25, 2024

yes I have the same issue.

from vscode-lombok.

zmwxiaoming avatar zmwxiaoming commented on May 25, 2024

I solved the problem that costs one day!!! First ,show the project lombok version: mvn help:effective-pom | grep lombok -A5 -B5 I find it is 1.18.2 but when I look vscode lombok version which version is 1.18.12 so,I change my project lombok version in pom.xml to 1.18.12. it's solved. <dependency> <groupId>org.projectlombok</groupId><artifactId>lombok</artifactId> <version>1.18.12</version> </dependency>

very good !

from vscode-lombok.

pinkli avatar pinkli commented on May 25, 2024

I solved the problem that costs one day!!! First ,show the project lombok version: mvn help:effective-pom | grep lombok -A5 -B5 I find it is 1.18.2 but when I look vscode lombok version which version is 1.18.12 so,I change my project lombok version in pom.xml to 1.18.12. it's solved. <dependency> <groupId>org.projectlombok</groupId><artifactId>lombok</artifactId> <version>1.18.12</version> </dependency>

Yes, after updating the lombok version to 1.18.12 in pom.xml file, vscode works.

from vscode-lombok.

zmwxiaoming avatar zmwxiaoming commented on May 25, 2024

you also can see
https://marketplace.visualstudio.com/items?itemName=vscjava.vscode-lombok
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

from vscode-lombok.

testforstephen avatar testforstephen commented on May 25, 2024

Language Support for Java(TM) by RedHat extension 1.8.0 will automatically use the lombok.jar from your project classpath for lombok support in VS Code. Based on testing, it seems the lombok version compatible with RedHat Java extension is 1.18.4 and higher.

If the lombok dependency in your project pom.xml is lower than 1.18.4, the lombok annotations may not work in VS Code. You need to update lombok version to a newer one.

from vscode-lombok.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.