diff options
author | Benjamin Coenen <[email protected]> | 2020-04-09 08:39:17 +0100 |
---|---|---|
committer | Benjamin Coenen <[email protected]> | 2020-04-09 08:53:53 +0100 |
commit | 585bb83e2aec9c79dae8c2e031e9165f40937003 (patch) | |
tree | 3dda062f3deb768b211e7e091dd5b29b9b6fae84 /docs/user | |
parent | 8f1dba6f9ae1d8d314dd9d007e4c582ed1403e8d (diff) | |
parent | 080c983498afcac3eb54028af5c9f8bfe7f2c826 (diff) |
feat: add attributes support on struct fields and method #3870
Signed-off-by: Benjamin Coenen <[email protected]>
Diffstat (limited to 'docs/user')
-rw-r--r-- | docs/user/readme.adoc | 25 |
1 files changed, 1 insertions, 24 deletions
diff --git a/docs/user/readme.adoc b/docs/user/readme.adoc index 911163eb7..abd126340 100644 --- a/docs/user/readme.adoc +++ b/docs/user/readme.adoc | |||
@@ -187,30 +187,7 @@ Prerequisites: | |||
187 | 187 | ||
188 | `LSP` package. | 188 | `LSP` package. |
189 | 189 | ||
190 | Installation: | 190 | Invoke the command palette (`ctrl+shift+p`) and type LSP enable to locally/globally enable the rust-analyzer LSP (type LSP enable, then choose either locally or globally, then select rust-analyzer) |
191 | |||
192 | 1. Invoke the command palette with <kbd>Ctrl+Shift+P</kbd> | ||
193 | 2. Type `LSP Settings` to open the LSP preferences editor | ||
194 | 3. Add the following LSP client definition to your settings: | ||
195 | + | ||
196 | [source,json] | ||
197 | ---- | ||
198 | "rust-analyzer": { | ||
199 | "command": ["rust-analyzer"], | ||
200 | "languageId": "rust", | ||
201 | "scopes": ["source.rust"], | ||
202 | "syntaxes": [ | ||
203 | "Packages/Rust/Rust.sublime-syntax", | ||
204 | "Packages/Rust Enhanced/RustEnhanced.sublime-syntax" | ||
205 | ], | ||
206 | "initializationOptions": { | ||
207 | "featureFlags": { | ||
208 | } | ||
209 | }, | ||
210 | } | ||
211 | ---- | ||
212 | |||
213 | 4. You can now invoke the command palette and type LSP enable to locally/globally enable the rust-analyzer LSP (type LSP enable, then choose either locally or globally, then select rust-analyzer) | ||
214 | 191 | ||
215 | == Usage | 192 | == Usage |
216 | 193 | ||