mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-21 23:25:07 +00:00
LSP: ParameterInformation.label
parent
9caff063f2
commit
b30024b7ab
2
LSP.md
2
LSP.md
@ -5,6 +5,8 @@ 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 a `string` (this made it difficult to highlight the label),
|
||||
then changed to `string | [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.
|
||||
|
||||
### Formatting
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user