elm-language-server icon indicating copy to clipboard operation
elm-language-server copied to clipboard

Server can't initialize over VS Code Live Share

Open jmbockhorst opened this issue 4 years ago • 5 comments

When trying to connect to a workspace over Live Share and initialize the Elm extension, it throws this error: Message: Request initialize failed with message: UNKNOWN: unknown error, stat '//**/elm.json'

Something to note is that the uri is prefixed with vsls:, and I'm not sure if this has to be dealt with on the client. Posting here because I think that glob is defined here. We also need to test with VSCode Remote extensions because I think they prefix uris too (remote:).

jmbockhorst avatar Jul 16 '20 21:07 jmbockhorst

Hrm, I'm not seeing this on my linux machine, connecting from a second instance on the same pc.

razzeee avatar Jul 17 '20 16:07 razzeee

It's happening to me on windows, both when connecting to a separate machine, and the same one.

jmbockhorst avatar Jul 17 '20 16:07 jmbockhorst

Maybe we have to convert the uris from the vscode client using https://www.npmjs.com/package/vsls

jmbockhorst avatar Jul 17 '20 16:07 jmbockhorst

We should probably test this again.

razzeee avatar Dec 30 '20 15:12 razzeee

Might be relevant https://code.visualstudio.com/updates/v1_56#_define-whether-your-extension-supports-a-virtual-workspace

razzeee avatar May 06 '21 15:05 razzeee