scalameta / metals

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

Failing to use command "Metals: switch build server" in multi root workspace #5611

Closed hedefalk closed 1 year ago

hedefalk commented 1 year ago

Describe the bug Failing to use command "Metals: switch build server" in multi root workspace

To Reproduce Steps to reproduce the behavior:

  1. Add two folders to a workspace, for me its currently one sbt and one Java mvn.
  2. Run "Metals: switch build server"
  3. I get a selection of the projects and click one.
  4. I get: image

Expected behavior That I could set sbt as my build server for the sbt project.

tgodzik commented 1 year ago

Thanks for reporting! I totally forgot to fix it when I saw the issue at some point. Fixing it in https://github.com/scalameta/metals/pull/5612