aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/user/features.md6
-rw-r--r--docs/user/generated_features.adoc27
2 files changed, 24 insertions, 9 deletions
diff --git a/docs/user/features.md b/docs/user/features.md
index 4d9402252..df8e73a20 100644
--- a/docs/user/features.md
+++ b/docs/user/features.md
@@ -4,12 +4,6 @@ you can use <kbd>Ctrl+Shift+P</kbd> to search for the corresponding action.
4 4
5### Commands <kbd>ctrl+shift+p</kbd> 5### Commands <kbd>ctrl+shift+p</kbd>
6 6
7#### Run
8
9Shows a popup suggesting to run a test/benchmark/binary **at the current cursor
10location**. Super useful for repeatedly running just a single test. Do bind this
11to a shortcut!
12
13#### Parent Module 7#### Parent Module
14 8
15Navigates to the parent module of the current module. 9Navigates to the parent module of the current module.
diff --git a/docs/user/generated_features.adoc b/docs/user/generated_features.adoc
index e1eb5d88a..1f6fcc974 100644
--- a/docs/user/generated_features.adoc
+++ b/docs/user/generated_features.adoc
@@ -29,7 +29,7 @@ Provides a tree of the symbols defined in the file. Can be used to
29|=== 29|===
30 30
31 31
32=== Go To Definition 32=== Go to Definition
33**Source:** https://github.com/rust-analyzer/rust-analyzer/blob/master/crates/ra_ide/src/goto_definition.rs[goto_definition.rs] 33**Source:** https://github.com/rust-analyzer/rust-analyzer/blob/master/crates/ra_ide/src/goto_definition.rs[goto_definition.rs]
34 34
35 35
@@ -42,7 +42,7 @@ Navigates to the definition of an identifier.
42|=== 42|===
43 43
44 44
45=== Go To Implementation 45=== Go to Implementation
46**Source:** https://github.com/rust-analyzer/rust-analyzer/blob/master/crates/ra_ide/src/goto_implementation.rs[goto_implementation.rs] 46**Source:** https://github.com/rust-analyzer/rust-analyzer/blob/master/crates/ra_ide/src/goto_implementation.rs[goto_implementation.rs]
47 47
48 48
@@ -55,12 +55,18 @@ Navigates to the impl block of structs, enums or traits. Also implemented as a c
55|=== 55|===
56 56
57 57
58=== Go To Type Definition 58=== Go to Type Definition
59**Source:** https://github.com/rust-analyzer/rust-analyzer/blob/master/crates/ra_ide/src/goto_type_definition.rs[goto_type_definition.rs] 59**Source:** https://github.com/rust-analyzer/rust-analyzer/blob/master/crates/ra_ide/src/goto_type_definition.rs[goto_type_definition.rs]
60 60
61 61
62Navigates to the type of an identifier. 62Navigates to the type of an identifier.
63 63
64|===
65| Editor | Action Name
66
67| VS Code | **Go to Type Definition*
68|===
69
64 70
65=== On Typing Assists 71=== On Typing Assists
66**Source:** https://github.com/rust-analyzer/rust-analyzer/blob/master/crates/ra_ide/src/typing.rs[typing.rs] 72**Source:** https://github.com/rust-analyzer/rust-analyzer/blob/master/crates/ra_ide/src/typing.rs[typing.rs]
@@ -73,6 +79,21 @@ Some features trigger on typing certain characters:
73- typing `.` in a chain method call auto-indents 79- typing `.` in a chain method call auto-indents
74 80
75 81
82=== Run
83**Source:** https://github.com/rust-analyzer/rust-analyzer/blob/master/crates/ra_ide/src/runnables.rs[runnables.rs]
84
85
86Shows a popup suggesting to run a test/benchmark/binary **at the current cursor
87location**. Super useful for repeatedly running just a single test. Do bind this
88to a shortcut!
89
90|===
91| Editor | Action Name
92
93| VS Code | **Rust Analyzer: Run**
94|===
95
96
76=== Workspace Symbol 97=== Workspace Symbol
77**Source:** https://github.com/rust-analyzer/rust-analyzer/blob/master/crates/ra_ide_db/src/symbol_index.rs[symbol_index.rs] 98**Source:** https://github.com/rust-analyzer/rust-analyzer/blob/master/crates/ra_ide_db/src/symbol_index.rs[symbol_index.rs]
78 99