vscode-lombok icon indicating copy to clipboard operation
vscode-lombok copied to clipboard

vscode could not veirfy lombok word in latest version

Open bobogavin opened this issue 2 years ago • 14 comments

vscode could not veirfy lombok word in latest version

bobogavin avatar Jul 02 '22 12:07 bobogavin

vscode stable version and insider version both have the problem

bobogavin avatar Jul 02 '22 12:07 bobogavin

vscode version 1.68.1

bobogavin avatar Jul 02 '22 12:07 bobogavin

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

bobogavin avatar Jul 02 '22 12:07 bobogavin

image

bobogavin avatar Jul 02 '22 12:07 bobogavin

yes I have the same issue.

pinkli avatar Jul 04 '22 03:07 pinkli

yes I have the same issue.

zmwxiaoming avatar Jul 04 '22 10:07 zmwxiaoming

yes I have the same issue.

me too

zmwxiaoming avatar Jul 04 '22 10:07 zmwxiaoming

版本: 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

zmwxiaoming avatar Jul 04 '22 10:07 zmwxiaoming

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>

leegohi avatar Jul 05 '22 02:07 leegohi

yes I have the same issue.

Arisaematis avatar Jul 05 '22 05:07 Arisaematis

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 !

zmwxiaoming avatar Jul 05 '22 07:07 zmwxiaoming

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.

pinkli avatar Jul 06 '22 02:07 pinkli

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

zmwxiaoming avatar Jul 07 '22 00:07 zmwxiaoming

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.

testforstephen avatar Jul 14 '22 03:07 testforstephen