diff options
author | Aleksey Kladov <[email protected]> | 2019-10-27 14:49:39 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-10-27 14:49:39 +0000 |
commit | b6fcacd96d26e7edaf37bda852b8b3ad104d4c90 (patch) | |
tree | 97e3213d449e6237d1a20f99e9e82ede19215b20 /docs/user/features.md | |
parent | cda6355de23825c201d02e6062cb2dd414e98bf9 (diff) |
move all assists to use generated docs
Diffstat (limited to 'docs/user/features.md')
-rw-r--r-- | docs/user/features.md | 20 |
1 files changed, 3 insertions, 17 deletions
diff --git a/docs/user/features.md b/docs/user/features.md index 7ae2ca7b6..c160dd70b 100644 --- a/docs/user/features.md +++ b/docs/user/features.md | |||
@@ -99,24 +99,10 @@ Stop `cargo watch` | |||
99 | 99 | ||
100 | ### Assists (Code Actions) | 100 | ### Assists (Code Actions) |
101 | 101 | ||
102 | These are triggered in a particular context via light bulb. We use custom code on | 102 | Assists, or code actions, are small local refactorings, available in a particular context. |
103 | the VS Code side to be able to position cursor. `<|>` signifies cursor | 103 | They are usually triggered by a shortcut or by clicking a light bulb icon in the editor. |
104 | 104 | ||
105 | See [assists.md](./assists.md) | 105 | See [assists.md](./assists.md) for the list of available assists. |
106 | |||
107 | - Import path | ||
108 | |||
109 | ```rust | ||
110 | // before: | ||
111 | impl std::fmt::Debug<|> for Foo { | ||
112 | } | ||
113 | |||
114 | // after: | ||
115 | use std::fmt::Debug; | ||
116 | |||
117 | impl Debug<|> for Foo { | ||
118 | } | ||
119 | ``` | ||
120 | 106 | ||
121 | ### Magic Completions | 107 | ### Magic Completions |
122 | 108 | ||