salesforce/bazel-vscode-java

Plugin does not work with Bazel 5

camearle20 opened this issue · 5 comments

When trying to open a project with Bazel 5.1.0 installed, the plugin fails to generate a working JDT.LS configuration. The log is attached.

client.log.2022-03-25.txt

I made sure to clean the java language server workspace before trying to open a java source file, and the issue still occurs. Is this a quick fix or something more involved?

guw commented

This might be fixed with salesforce/bazel-eclipse@4569d6b

guw commented

@plaird FYI. I think we should publish the Language Server and the Bazel Eclipse plug-in always at the same time. Once it's released I can look into building a new version of the VS Code extension.

Just as a quick test I rebuilt the plugin from source and it looks like that took care of the issue, so it does seem like the commit you referenced fixed this. Since the extension isn't in the VSCode marketplace yet anyway just using the version I built manually is completely fine for our team.

@guw we have this Issue to think about how connected the product releases are. I think they at least need independent version numbers (e.g. if I refactor the Eclipse Import UI in BEF, that is a minor x.X.x BEF release and a patch x.x.X BJLS release).

guw commented

This works now