diff --git a/docs/dev/lsp-extensions.md b/docs/dev/lsp-extensions.md index d90875f8bd..158d3c599a 100644 --- a/docs/dev/lsp-extensions.md +++ b/docs/dev/lsp-extensions.md @@ -7,6 +7,8 @@ All capabilities are enabled via `experimental` field of `ClientCapabilities`. ## Snippet `TextEdit` +**Issue:** https://github.com/microsoft/language-server-protocol/issues/724 + **Client Capability:** `{ "snippetTextEdit": boolean }` If this capability is set, `WorkspaceEdit`s returned from `codeAction` requests might contain `SnippetTextEdit`s instead of usual `TextEdit`s: @@ -38,6 +40,8 @@ At the moment, rust-analyzer guarantees that only a single edit will have `Inser ## Join Lines +**Issue:** https://github.com/microsoft/language-server-protocol/issues/992 + **Server Capability:** `{ "joinLines": boolean }` This request is send from client to server to handle "Join Lines" editor action. @@ -122,13 +126,15 @@ SSR with query `foo($a:expr, $b:expr) ==>> ($a).foo($b)` will transform, eg `foo ## `CodeAction` Groups +**Issue:** https://github.com/microsoft/language-server-protocol/issues/994 + **Client Capability:** `{ "codeActionGroup": boolean }` If this capability is set, `CodeAction` returned from the server contain an additional field, `group`: ```typescript interface CodeAction { - title: string; + title: string; group?: string; ... }