metals-vscode: Metals does not start anymore on Windows in VS Code since the VS Code extension v1.30.0
Describe the bug
I (automatically) updated Metals in VS Code to the latest release from April 15 on a Windows machine. Now Metals just … does not start anymore. No “Starting Metals”. The Metals tab shows the “New Scala project” and “Start Metals” blue buttons, but clicking on them does not do anything. No logs that I can find either. No .metals directory. It’s almost as if it is not even there. I don’t even get syntactic help like auto-indent on Enter after an =.
Things I tried:
- Removing my
.bsp/.vscode/.metalsfrom before - Uninstalling and reinstalling Metals from scratch
- Checked the Metals Java version; it says 17
On my Linux machine at work I haven’t observed any issue.
Expected behavior
Er … at least show me an error message I guess? Ideally successfully start.
Operating system
Windows
Editor/Extension
VS Code
Version of Metals
v1.3.0
Extra context or search terms
No response
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Reactions: 1
- Comments: 47 (23 by maintainers)
ok, this should fix it then https://github.com/scalameta/metals-vscode/pull/1500
I wanted to fix one more thing, but you’re right, we should do a new release with the current fixes. Will do it Sunday or Monday, sorry about that!
Downgrading to the VS Code extension v1.29.0 solved the issue, even though it uses Metals 1.3.0 anyway. So this seems to be related to v1.30.0 of the VS Code extension, in fact.