elm-language-server
elm-language-server copied to clipboard
Server can't initialize over VS Code Live Share
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:
).
Hrm, I'm not seeing this on my linux machine, connecting from a second instance on the same pc.
It's happening to me on windows, both when connecting to a separate machine, and the same one.
Maybe we have to convert the uris from the vscode client using https://www.npmjs.com/package/vsls
We should probably test this again.
Might be relevant https://code.visualstudio.com/updates/v1_56#_define-whether-your-extension-supports-a-virtual-workspace