aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/dev/lsp-extensions.md8
1 files changed, 7 insertions, 1 deletions
diff --git a/docs/dev/lsp-extensions.md b/docs/dev/lsp-extensions.md
index d90875f8b..158d3c599 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`.
7 7
8## Snippet `TextEdit` 8## Snippet `TextEdit`
9 9
10**Issue:** https://github.com/microsoft/language-server-protocol/issues/724
11
10**Client Capability:** `{ "snippetTextEdit": boolean }` 12**Client Capability:** `{ "snippetTextEdit": boolean }`
11 13
12If this capability is set, `WorkspaceEdit`s returned from `codeAction` requests might contain `SnippetTextEdit`s instead of usual `TextEdit`s: 14If 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
38 40
39## Join Lines 41## Join Lines
40 42
43**Issue:** https://github.com/microsoft/language-server-protocol/issues/992
44
41**Server Capability:** `{ "joinLines": boolean }` 45**Server Capability:** `{ "joinLines": boolean }`
42 46
43This request is send from client to server to handle "Join Lines" editor action. 47This 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
122 126
123## `CodeAction` Groups 127## `CodeAction` Groups
124 128
129**Issue:** https://github.com/microsoft/language-server-protocol/issues/994
130
125**Client Capability:** `{ "codeActionGroup": boolean }` 131**Client Capability:** `{ "codeActionGroup": boolean }`
126 132
127If this capability is set, `CodeAction` returned from the server contain an additional field, `group`: 133If this capability is set, `CodeAction` returned from the server contain an additional field, `group`:
128 134
129```typescript 135```typescript
130interface CodeAction { 136interface CodeAction {
131 title: string; 137 title: string;
132 group?: string; 138 group?: string;
133 ... 139 ...
134} 140}