emacs-lsp / lsp-metals

lsp-mode :heart: metals
https://emacs-lsp.github.io/lsp-metals
GNU General Public License v3.0
58 stars 34 forks source link

LSP metals won't load, stops configuration of SemanticDB in 2.13.10 projects #89

Open arigoldx opened 1 year ago

arigoldx commented 1 year ago

I originally posted in scalameta/metals but given the comments there, I wonder if maybe there's an issue with lsp-metals?

I've tried the instructions from the scalameta page as well as the (much) smaller instructions from the lsp-metals readme but I always get the following:

LSP :: Stopped configuration of Scala SemanticDB in 2.13.10 projects: Error downloading org.scalameta:semanticdb-scalac_2.13.10:4.4.32 not found: /Users/arigold/.ivy2/local/org.scalameta/semanticdb-scalac_2.13.10/4.4.32/ivys/ivy.xml not found: https://repo1.maven.org/maven2/org/scalameta/semanticdb-scalac_2.13.10/4.4.32/semanticdb-scalac_2.13.10-4.4.32.pom

As per the instructions on the scalameta page, I installed the server with coursier install metals and, fwiw, I installed coursier with brew coursier.

To be honest, I've done so many installs and reinstalls that I'm not sure how /usr/local/bin/metals-emacs got there :-/

I was able to run lsp-metals-doctor-run and something seems off because I see

Scala 2.13.10 is not yet supported, please downgrade to Scala 2.13.8.

even tho 2.13.10 is said to be supported.

The doctor command also shows

Build server currently being used is Bloop v1.4.12.

Any ideas? Happy to update documentation once this gets resolved :)

arigoldx commented 1 year ago

Not only would I be happy to help, I'd love to debug this -- any tips?

I've started but right now I feel rather.. well, blind 😅.