mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-24 07:44:10 +00:00
fix docs
This commit is contained in:
parent
57608ecd9d
commit
493bf20b3d
@ -52,8 +52,8 @@ This list documents LSP features, supported by rust-analyzer.
|
||||
- [x] [textDocument/documentHighlight](https://microsoft.github.io/language-server-protocol/specification#textDocument_documentHighlight)
|
||||
- [x] [textDocument/documentSymbol](https://microsoft.github.io/language-server-protocol/specification#textDocument_documentSymbol)
|
||||
- [x] [textDocument/codeAction](https://microsoft.github.io/language-server-protocol/specification#textDocument_codeAction)
|
||||
- [x] [textDocument/selectionRange](https://github.com/Microsoft/language-server-protocol/issues/613)
|
||||
- rust-analyzer.syntaxTree
|
||||
- rust-analyzer.extendSelection
|
||||
- rust-analyzer.matchingBrace
|
||||
- rust-analyzer.parentModule
|
||||
- rust-analyzer.joinLines
|
||||
|
@ -34,14 +34,15 @@ Some features trigger on typing certain characters:
|
||||
- Enter inside comments automatically inserts `///`
|
||||
- typing `.` in a chain method call auto-indents
|
||||
|
||||
### Commands <kbd>ctrl+shift+p</kbd>
|
||||
|
||||
#### Extend Selection
|
||||
### Extend Selection
|
||||
|
||||
Extends the current selection to the encompassing syntactic construct
|
||||
(expression, statement, item, module, etc). It works with multiple cursors. Do
|
||||
bind this command to a key, it's super-useful! Expected to be upstreamed to LSP
|
||||
soonish: https://github.com/Microsoft/language-server-protocol/issues/613
|
||||
(expression, statement, item, module, etc). It works with multiple cursors. This
|
||||
is a relatively new feature of LSP:
|
||||
https://github.com/Microsoft/language-server-protocol/issues/613, check your
|
||||
editor's LSP library to see if this feature is supported.
|
||||
|
||||
### Commands <kbd>ctrl+shift+p</kbd>
|
||||
|
||||
#### Run
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user