Skip to content

Commit 5b2b310

Browse files
committed
Clarify that all caps are experimental
1 parent 3fdf26a commit 5b2b310

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

docs/dev/lsp-extensions.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ If a language client does not know about `rust-analyzer`'s configuration options
3939

4040
**Issue:** https://github.com/microsoft/language-server-protocol/issues/724
4141

42-
**Client Capability:** `{ "snippetTextEdit": boolean }`
42+
**Experimental Client Capability:** `{ "snippetTextEdit": boolean }`
4343

4444
If this capability is set, `WorkspaceEdit`s returned from `codeAction` requests might contain `SnippetTextEdit`s instead of usual `TextEdit`s:
4545

@@ -72,7 +72,7 @@ At the moment, rust-analyzer guarantees that only a single edit will have `Inser
7272

7373
**Issue:** https://github.com/microsoft/language-server-protocol/issues/994
7474

75-
**Client Capability:** `{ "codeActionGroup": boolean }`
75+
**Experimental Client Capability:** `{ "codeActionGroup": boolean }`
7676

7777
If this capability is set, `CodeAction` returned from the server contain an additional field, `group`:
7878

@@ -119,7 +119,7 @@ Invoking code action at this position will yield two code actions for importing
119119

120120
**Issue:** https://github.com/microsoft/language-server-protocol/issues/1002
121121

122-
**Server Capability:** `{ "parentModule": boolean }`
122+
**Experimental Server Capability:** `{ "parentModule": boolean }`
123123

124124
This request is sent from client to server to handle "Goto Parent Module" editor action.
125125

@@ -153,7 +153,7 @@ mod foo;
153153

154154
**Issue:** https://github.com/microsoft/language-server-protocol/issues/992
155155

156-
**Server Capability:** `{ "joinLines": boolean }`
156+
**Experimental Server Capability:** `{ "joinLines": boolean }`
157157

158158
This request is sent from client to server to handle "Join Lines" editor action.
159159

@@ -200,7 +200,7 @@ fn main() {
200200

201201
**Issue:** https://github.com/microsoft/language-server-protocol/issues/1001
202202

203-
**Server Capability:** `{ "onEnter": boolean }`
203+
**Experimental Server Capability:** `{ "onEnter": boolean }`
204204

205205
This request is sent from client to server to handle <kbd>Enter</kbd> keypress.
206206

@@ -251,7 +251,7 @@ As proper cursor positioning is raison-d'etat for `onEnter`, it uses `SnippetTex
251251

252252
## Structural Search Replace (SSR)
253253

254-
**Server Capability:** `{ "ssr": boolean }`
254+
**Experimental Server Capability:** `{ "ssr": boolean }`
255255

256256
This request is sent from client to server to handle structural search replace -- automated syntax tree based transformation of the source.
257257

@@ -293,7 +293,7 @@ SSR with query `foo($a, $b) ==>> ($a).foo($b)` will transform, eg `foo(y + 5, z)
293293

294294
**Issue:** https://github.com/microsoft/language-server-protocol/issues/999
295295

296-
**Server Capability:** `{ "matchingBrace": boolean }`
296+
**Experimental Server Capability:** `{ "matchingBrace": boolean }`
297297

298298
This request is sent from client to server to handle "Matching Brace" editor action.
299299

@@ -338,7 +338,7 @@ Moreover, it would be cool if editors didn't need to implement even basic langua
338338

339339
**Issue:** https://github.com/microsoft/language-server-protocol/issues/944
340340

341-
**Server Capability:** `{ "runnables": { "kinds": string[] } }`
341+
**Experimental Server Capability:** `{ "runnables": { "kinds": string[] } }`
342342

343343
This request is sent from client to server to get the list of things that can be run (tests, binaries, `cargo check -p`).
344344

@@ -421,7 +421,7 @@ Reloads project information (that is, re-executes `cargo metadata`).
421421

422422
## Status Notification
423423

424-
**Client Capability:** `{ "statusNotification": boolean }`
424+
**Experimental Client Capability:** `{ "statusNotification": boolean }`
425425

426426
**Method:** `rust-analyzer/status`
427427

@@ -519,7 +519,7 @@ interface InlayHint {
519519

520520
## Hover Actions
521521

522-
**Client Capability:** `{ "hoverActions": boolean }`
522+
**Experimental Client Capability:** `{ "hoverActions": boolean }`
523523

524524
If this capability is set, `Hover` request returned from the server might contain an additional field, `actions`:
525525

0 commit comments

Comments
 (0)