scalameta / metals

Scala language server with rich IDE features 🚀
https://scalameta.org/metals/
Apache License 2.0
2.1k stars 332 forks source link

Metals create cache directory incorrectly #6885

Open NoahELE opened 1 week ago

NoahELE commented 1 week ago

Describe the bug

When imoprting a sbt project on Windows, Metals create directories like null and PowerShell x.x.x.

Steps to reproduce:

image

Expected behavior

The cache should be written to correct directories like %APPDATA% or %HOME%

Operating system

Windows

Editor/Extension

VS Code

Version of Metals

1.4.0

Extra context or search terms

No response

tgodzik commented 1 week ago

Thanks!