-
Notifications
You must be signed in to change notification settings - Fork 262
Fangrui Song edited this page Jul 21, 2019
·
3 revisions
MaskRay's random complaints about Language Server Protocol
- VSCode sorts
sortText
case insensitively. - VSCode only allows length-one strings in
CompletionRegistrationOptions.triggerCharacters
https://github.com/Microsoft/language-server-protocol/issues/138 (closed) Server developers have to work around that.CompletionTriggerKind::TriggerCharacter
should extend as well. - The order of
textEdit
additionTextEdits
is not specified. - Initially
ParameterInformation.label
was astring
(this made it difficult to highlight the label), then changed tostring | [number, number]
(https://github.com/microsoft/language-server-protocol/issues/640). Specifying[start,end)
([number, number]
) allows to highlight the label, but then it will not be able to supply a detailed string.
-
firstTriggerCharacter
andmoreTriggerCharacter
should be unified
-
interface Position
uses UTF-16 counting forcharacter
. https://github.com/Microsoft/language-server-protocol/issues/376 -
interface Command
(workspace/executeCommand
) is VSCode centric. -
textDocument/implementation
isn't clear.textDocument/definition
isn't clear when it comes to the difference of declaration/definition. -
namespace DocumentHighlightKind
is not a bitmask.Read
andWrite
cannot coexist. - Why can't we get more
namespace SymbolKind
constants sooner? https://github.com/Microsoft/language-server-protocol/issues/344 -
textDocument/signatureHelp
: the position ofParameterInformation::label
is unspecified: it is difficult to highlightParameterInformation::label
inSignatureInformation::label
textDocument/calls
https://github.com/Microsoft/vscode-languageserver-node/pull/420/files
$ccls/call