aboutsummaryrefslogtreecommitdiff
path: root/editors/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'editors/README.md')
-rw-r--r--editors/README.md19
1 files changed, 17 insertions, 2 deletions
diff --git a/editors/README.md b/editors/README.md
index 798c08581..a39ec62b0 100644
--- a/editors/README.md
+++ b/editors/README.md
@@ -16,7 +16,7 @@ It's better to remove existing Rust plugins to avoid interference.
16 16
17* syntax highlighting (LSP does not have API for it, so impl is hacky 17* syntax highlighting (LSP does not have API for it, so impl is hacky
18 and sometimes fall-backs to the horrible built-in highlighting) 18 and sometimes fall-backs to the horrible built-in highlighting)
19 19
20* **Go to symbol in workspace** (`ctrl+t`) 20* **Go to symbol in workspace** (`ctrl+t`)
21 - `#Foo` searches for `Foo` type in the current workspace 21 - `#Foo` searches for `Foo` type in the current workspace
22 - `#foo#` searches for `foo` function in the current workspace 22 - `#foo#` searches for `foo` function in the current workspace
@@ -44,9 +44,24 @@ It's better to remove existing Rust plugins to avoid interference.
44 outside of the test function, this re-runs the last test. Do bind 44 outside of the test function, this re-runs the last test. Do bind
45 this to a shortcut! 45 this to a shortcut!
46 46
47* Typing assists
48 - typing `let =` tries to smartly add `;` if `=` is followed by an existing expression.
49 - Enter inside comments continues comment (`<|>` signifies cursor position):
50
51```
52/// Docs<|>
53fn foo() {}
54```
55
56```
57/// Docs
58/// <|>
59fn foo() {}
60```
61
47* code actions (use `ctrl+.` to activate). 62* code actions (use `ctrl+.` to activate).
48 63
49`<|>` signifies cursor position 64
50 65
51- Flip `,` 66- Flip `,`
52 67