aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/dev/lsp-features.md2
-rw-r--r--docs/user/features.md13
2 files changed, 8 insertions, 7 deletions
diff --git a/docs/dev/lsp-features.md b/docs/dev/lsp-features.md
index 212d132ee..57015293c 100644
--- a/docs/dev/lsp-features.md
+++ b/docs/dev/lsp-features.md
@@ -52,8 +52,8 @@ This list documents LSP features, supported by rust-analyzer.
52- [x] [textDocument/documentHighlight](https://microsoft.github.io/language-server-protocol/specification#textDocument_documentHighlight) 52- [x] [textDocument/documentHighlight](https://microsoft.github.io/language-server-protocol/specification#textDocument_documentHighlight)
53- [x] [textDocument/documentSymbol](https://microsoft.github.io/language-server-protocol/specification#textDocument_documentSymbol) 53- [x] [textDocument/documentSymbol](https://microsoft.github.io/language-server-protocol/specification#textDocument_documentSymbol)
54- [x] [textDocument/codeAction](https://microsoft.github.io/language-server-protocol/specification#textDocument_codeAction) 54- [x] [textDocument/codeAction](https://microsoft.github.io/language-server-protocol/specification#textDocument_codeAction)
55- [x] [textDocument/selectionRange](https://github.com/Microsoft/language-server-protocol/issues/613)
55 - rust-analyzer.syntaxTree 56 - rust-analyzer.syntaxTree
56 - rust-analyzer.extendSelection
57 - rust-analyzer.matchingBrace 57 - rust-analyzer.matchingBrace
58 - rust-analyzer.parentModule 58 - rust-analyzer.parentModule
59 - rust-analyzer.joinLines 59 - rust-analyzer.joinLines
diff --git a/docs/user/features.md b/docs/user/features.md
index cffbb4c7f..b44a3fce1 100644
--- a/docs/user/features.md
+++ b/docs/user/features.md
@@ -34,14 +34,15 @@ Some features trigger on typing certain characters:
34- Enter inside comments automatically inserts `///` 34- Enter inside comments automatically inserts `///`
35- typing `.` in a chain method call auto-indents 35- typing `.` in a chain method call auto-indents
36 36
37### Commands <kbd>ctrl+shift+p</kbd> 37### Extend Selection
38
39#### Extend Selection
40 38
41Extends the current selection to the encompassing syntactic construct 39Extends the current selection to the encompassing syntactic construct
42(expression, statement, item, module, etc). It works with multiple cursors. Do 40(expression, statement, item, module, etc). It works with multiple cursors. This
43bind this command to a key, it's super-useful! Expected to be upstreamed to LSP 41is a relatively new feature of LSP:
44soonish: https://github.com/Microsoft/language-server-protocol/issues/613 42https://github.com/Microsoft/language-server-protocol/issues/613, check your
43editor's LSP library to see if this feature is supported.
44
45### Commands <kbd>ctrl+shift+p</kbd>
45 46
46#### Run 47#### Run
47 48