You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
vscode-languageclient escapes drive colon on doc URIs on Win #144698
In other words the doc URI is sent from the vscode-languageclient with escaped drive colon which is wrong i think. The drive colon should NOT be escaped. This makes Spring Tools language server not to work properly on Windows
Alex Boyko (@BoykoAlex) escaping the colon in drive letters is the default behavior in VS Code. This is why the LSP client for VS Code follows that rule.
Activity
dbaeumer commentedon Mar 9, 2022
Alex Boyko (@BoykoAlex) escaping the colon in drive letters is the default behavior in VS Code. This is why the LSP client for VS Code follows that rule.
However the extension has control over this when creating the LSP client by specifying URI converters. See https://github.com/microsoft/vscode-languageserver-node/blob/5c2e1065493290110bd7c7ea1b10cd6fa08eb81c/client/src/common/client.ts#L684
dbaeumer commentedon Mar 9, 2022
In the converter function you can simply call
uri.toString(true)which will skip these encodings.