Gabriel Basilio
Gabriel Basilio
> For example, define the location in package.json, and tell vscode-java to read the args before activating. @testforstephen Interesting. But I don't understand how `vscode-java` will read that without being...
> It needs vscode-java to expose some kind of contribution point for you to add a javaagent. > > For example, currently Debugger for Java extensions also works as an...
> The javaExtensions is already there, but currently it just supports OSGI bundle and loading them as a bundle not a javaagent. Since javaagent is required to added into vmArgs,...
@testforstephen I created a bundle this way: https://github.com/GabrielBB/vscode-lombok/blob/4079ecd1236d1bca45dd71daa8ecad93e0166e14/package.json#L40 I added javaExtensions like this: https://github.com/GabrielBB/vscode-lombok/blob/4079ecd1236d1bca45dd71daa8ecad93e0166e14/package.json#L32 This is the generated extension, inside you will find the bundle: https://drive.google.com/file/d/1E_krdLaxpbDzR3gb5qy94EMH3im_b4Ig/view?usp=sharing But it's not working....
> Oh, it should be picked up by vscode-java. Since the new lombok-bundle.jar is not a real Eclipse plugin, vscode-java won't execute it. > > If you want to convert...
@testforstephen If this comment from @rzwitserloot still holds true, then it looks this won't be possible -> https://groups.google.com/d/msg/project-lombok/3RLYvgobEv8/QSMZK8m0exIJ
As @qitian422 said, make sure you’re using the latest version of Lombok in your pom or gradle file
What Lombok version are you using in your pom.xml or gradle file?
I'm having this same problem still in 2022
@ghaiszaher @monikma Great job