aboutsummaryrefslogtreecommitdiff
path: root/docs/user/features.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/user/features.md')
-rw-r--r--docs/user/features.md21
1 files changed, 15 insertions, 6 deletions
diff --git a/docs/user/features.md b/docs/user/features.md
index 09a7f5a43..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
@@ -76,6 +77,14 @@ Shows internal statistic about memory usage of rust-analyzer
76 77
77Manually triggers GC 78Manually triggers GC
78 79
80#### Start Cargo Watch
81
82Start `cargo watch` for live error highlighting. Will prompt to install if it's not already installed.
83
84#### Stop Cargo Watch
85
86Stop `cargo watch`
87
79### Code Actions (Assists) 88### Code Actions (Assists)
80 89
81These are triggered in a particular context via light bulb. We use custom code on 90These are triggered in a particular context via light bulb. We use custom code on