From 5b2b310827e83547ff1e1325229db1e01cb0513b Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Tue, 9 Mar 2021 12:02:20 +0300 Subject: Clarify that all caps are experimental --- docs/dev/lsp-extensions.md | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'docs/dev/lsp-extensions.md') diff --git a/docs/dev/lsp-extensions.md b/docs/dev/lsp-extensions.md index 164c8482e..dd3ecc18d 100644 --- a/docs/dev/lsp-extensions.md +++ b/docs/dev/lsp-extensions.md @@ -39,7 +39,7 @@ If a language client does not know about `rust-analyzer`'s configuration options **Issue:** https://github.com/microsoft/language-server-protocol/issues/724 -**Client Capability:** `{ "snippetTextEdit": boolean }` +**Experimental Client Capability:** `{ "snippetTextEdit": boolean }` If this capability is set, `WorkspaceEdit`s returned from `codeAction` requests might contain `SnippetTextEdit`s instead of usual `TextEdit`s: @@ -72,7 +72,7 @@ At the moment, rust-analyzer guarantees that only a single edit will have `Inser **Issue:** https://github.com/microsoft/language-server-protocol/issues/994 -**Client Capability:** `{ "codeActionGroup": boolean }` +**Experimental Client Capability:** `{ "codeActionGroup": boolean }` If this capability is set, `CodeAction` returned from the server contain an additional field, `group`: @@ -119,7 +119,7 @@ Invoking code action at this position will yield two code actions for importing **Issue:** https://github.com/microsoft/language-server-protocol/issues/1002 -**Server Capability:** `{ "parentModule": boolean }` +**Experimental Server Capability:** `{ "parentModule": boolean }` This request is sent from client to server to handle "Goto Parent Module" editor action. @@ -153,7 +153,7 @@ mod foo; **Issue:** https://github.com/microsoft/language-server-protocol/issues/992 -**Server Capability:** `{ "joinLines": boolean }` +**Experimental Server Capability:** `{ "joinLines": boolean }` This request is sent from client to server to handle "Join Lines" editor action. @@ -200,7 +200,7 @@ fn main() { **Issue:** https://github.com/microsoft/language-server-protocol/issues/1001 -**Server Capability:** `{ "onEnter": boolean }` +**Experimental Server Capability:** `{ "onEnter": boolean }` This request is sent from client to server to handle Enter keypress. @@ -251,7 +251,7 @@ As proper cursor positioning is raison-d'etat for `onEnter`, it uses `SnippetTex ## Structural Search Replace (SSR) -**Server Capability:** `{ "ssr": boolean }` +**Experimental Server Capability:** `{ "ssr": boolean }` This request is sent from client to server to handle structural search replace -- automated syntax tree based transformation of the source. @@ -293,7 +293,7 @@ SSR with query `foo($a, $b) ==>> ($a).foo($b)` will transform, eg `foo(y + 5, z) **Issue:** https://github.com/microsoft/language-server-protocol/issues/999 -**Server Capability:** `{ "matchingBrace": boolean }` +**Experimental Server Capability:** `{ "matchingBrace": boolean }` This request is sent from client to server to handle "Matching Brace" editor action. @@ -338,7 +338,7 @@ Moreover, it would be cool if editors didn't need to implement even basic langua **Issue:** https://github.com/microsoft/language-server-protocol/issues/944 -**Server Capability:** `{ "runnables": { "kinds": string[] } }` +**Experimental Server Capability:** `{ "runnables": { "kinds": string[] } }` This request is sent from client to server to get the list of things that can be run (tests, binaries, `cargo check -p`). @@ -421,7 +421,7 @@ Reloads project information (that is, re-executes `cargo metadata`). ## Status Notification -**Client Capability:** `{ "statusNotification": boolean }` +**Experimental Client Capability:** `{ "statusNotification": boolean }` **Method:** `rust-analyzer/status` @@ -519,7 +519,7 @@ interface InlayHint { ## Hover Actions -**Client Capability:** `{ "hoverActions": boolean }` +**Experimental Client Capability:** `{ "hoverActions": boolean }` If this capability is set, `Hover` request returned from the server might contain an additional field, `actions`: -- cgit v1.2.3