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
If you create your server with let connection = createConnection(ProposedFeatures.all); and use a client that connects to it with only very rudimentary capabilities, an error will be thrown.
If you create your server with
let connection = createConnection(ProposedFeatures.all);
and use a client that connects to it with only very rudimentary capabilities, an error will be thrown.This is because workspaceFolders.proposed.ts incorrectly assumes that
clientCapabilities.workspace
is set.https://github.com/Microsoft/vscode-languageserver-node/blob/9059f83cd8fb25b4a0fe5429540c562aa899dc6e/server/src/workspaceFolders.proposed.ts#L23-L24
However, according to the protocol, that capability is optional as it is flagged with a
?
.The text was updated successfully, but these errors were encountered: