helix errors out on lsp initialization #7500
-
hi, i'm trying to take the new roslyn languageserver for a spin.
if more information is needed, just let me know! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
The server is missing the required // https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#executeCommandOptions
export interface ExecuteCommandOptions extends WorkDoneProgressOptions {
/**
* The commands to be executed on the server
*/
commands: string[];
} If {
// ..
"executeCommandProvider": {"commands": []},
// ..
} in its capabilities to signal that it supports executing commands but doesn't provide any commands out of the box. |
Beta Was this translation helpful? Give feedback.
The server is missing the required
commands
field in theexecuteCommandProvider
part of the ServerCapabilities.executeCommandProvider
as defined as:If
commands
were optional it would have a trailing?
. Instead the language server should sendin its capabilities to signal that it supports executing commands but doesn't provide any commands out of the box.