daplf/vscode-java-kotlin

Does not work when Java Language Server is set to lightweight mode

Opened this issue · 0 comments

This extension will not work if java.server.launchMode is set to LightWeight.

[Extension Host] The command: vscode.java.resolveMainMethod is not supported in LightWeight mode. See: https://github.com/redhat-developer/vscode-java/issues/1480
y @ workbench.desktop.main.js:97
$logExtensionHostMessage @ workbench.desktop.main.js:1535
N @ workbench.desktop.main.js:1535
M @ workbench.desktop.main.js:1535
H @ workbench.desktop.main.js:1535
G @ workbench.desktop.main.js:1535
(anonymous) @ workbench.desktop.main.js:1535
invoke @ workbench.desktop.main.js:93
deliver @ workbench.desktop.main.js:93
fire @ workbench.desktop.main.js:93
fire @ workbench.desktop.main.js:564
E @ workbench.desktop.main.js:564
(anonymous) @ workbench.desktop.main.js:564
invoke @ workbench.desktop.main.js:93
deliver @ workbench.desktop.main.js:93
fire @ workbench.desktop.main.js:93
acceptChunk @ workbench.desktop.main.js:564
(anonymous) @ workbench.desktop.main.js:564
(anonymous) @ workbench.desktop.main.js:656
invoke @ workbench.desktop.main.js:93
deliver @ workbench.desktop.main.js:93
fire @ workbench.desktop.main.js:93
i.onload @ workbench.desktop.main.js:656

I'm sure there's little you can do about this based on the history of the issue it links. Just opening this in case anyone also runs into this. Thanks so much for your hard work on this extension! Other than this issue it works flawlessly.