scalameta / metals-zed

Zed plugin for Metals
Apache License 2.0
45 stars 10 forks source link

Is there a way to identify if this extension has detected the scala project? #3

Closed FredericDesgreniers closed 5 months ago

FredericDesgreniers commented 5 months ago

First off, super excited to see metals support for Zed, but I can't seem to get it to work

I installed this extension from within Zed but it doesn't seem to be providing any language server type assistance to the project. I'm confused if the extension is loaded / recognized the project at all

I installed metals via courrier (not from any prompt inside the editor, but from looking at the source code on here) already.

Is there a way to debug this? Or is the extension right now just minimal enough that I haven't noticed what it does?

Screenshots: I have the extension installed

image

But even doing something like A. doesn't provide any support (nor does any jump to definition, .. work)

image

Version I'm on:

image
nightscape commented 5 months ago

Same issue here, and on Reddit. @hmemcpy did you get the extension working on your machine?

matejcerny commented 5 months ago

Hey guys @FredericDesgreniers, @nightscape, I had the same issue, but then I installed metals via cs install metals (before I installed it via brew) and the scala project was immediately detected.

image
nightscape commented 5 months ago

Ah, I also have metals installed via brew. I was convinced that this should suffice. I'll try with coursier! Thanks for the pointer 😃

ngbinh commented 4 months ago

somehow it still doesn't work for me. Is there anything I can do to force it?

nightscape commented 4 months ago

@ngbinh I was successful by first importing the build in VS Code, fixing all errors reported by the Metals Doctor and then starting Zed again.