Comments (14)
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.
yes I have the same issue.
from vscode-lombok.
vscode stable version and insider version both have the problem
from vscode-lombok.
vscode version 1.68.1
from vscode-lombok.
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.
from vscode-lombok.
yes I have the same issue.
from vscode-lombok.
yes I have the same issue.
me too
from vscode-lombok.
版本: 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.
yes I have the same issue.
from vscode-lombok.
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.
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.
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.
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)
- The @CustomLog annotation is not configured; please set lombok.log.custom.declaration in lombok.config. HOT 4
- lombok accessors chain failed use global lombok.config HOT 1
- Extension deprecation notice - do Lombok users still need this HOT 1
- CI failed due to outdated eclipse repository url
- Issue when @FieldNameConstants is used in hierarchy
- Java Language Server is failing
- Go to references is not usable.
- Having undefined when using @Data HOT 3
- lombok annotation can't be applied : "The value of the field oo is not used" HOT 2
- Duplicate method error with @Delegate
- Note for vscode newbies: lombok under WSL.
- Feature Request: Support for @StandardException
- Symbols not getting resolved for lombok on vs code HOT 10
- Do not use 'java.jdt.ls.vmargs' for attaching the agent HOT 2
- Release new version with updated identifier HOT 6
- unexpected substitution of javaagent settings HOT 1
- Link getter/setter to field not annotation HOT 1
- Able to execute call hierarchy on Lombok-generated getters
- This repo is missing important files
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vscode-lombok.