laughedelic / atom-ide-scala

:atom: Scala & Dotty support for Atom IDE (πŸ§Ÿβ€β™‚οΈ zombie repo)

Home Page:https://atom.io/packages/ide-scala

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error starting Metals server

mads-hartmann opened this issue Β· comments

Hi,
I get the following error when I try to start the Metals server.

stderr   org.scalameta:metals_2.12:
stderr     not found: /Users/hartmann/.ivy2/local/org.scalameta/metals_2.12/ivys/ivy.xml
stderr     not found: https://repo1.maven.org/maven2/org/scalameta/metals_2.12//metals_2.12-.pom
stderr     not found: https://dl.bintray.com/scalameta/maven/org/scalameta/metals_2.12//metals_2.12-.pom

Any idea how best to debug this?

Cheers

Hi @mads-hartmann! I'm glad that you're trying it out 😊

This is an error from coursier and it looks like the version is empty. I see now that I shipped 0.6.0 with the empty default version (because of the none option) and didn't set it properly for Metals.

I'll fix this tomorrow, but meanwhile just open the plugin settings and set Language server version to 0.1.0-M1+90-fcac1cc3 (see published versions on Bintray). Let me know how it works then.

@laughedelic Awesome, thanks :) I'll see if I can give it a go later today.

Setting the version explicitly works πŸ‘ I get jump to declaration but I don't get code completions. I'll play around some more and open another issue if I can't resolve it :)

Completions are disabled by default. You can turn it on in the plugin settings (in the Metals/Presentation compiler section), but please, be aware that it's very unstable 🌡 See the related docs.

@laughedelic Ah sorry, should've read the docs more closely πŸ‘ Thanks for working on this project it's super cool πŸ™

I'm happy that you like it 😊