diff options
Diffstat (limited to 'editors')
-rw-r--r-- | editors/code/package.json | 24 |
1 files changed, 23 insertions, 1 deletions
diff --git a/editors/code/package.json b/editors/code/package.json index 5effa3e17..e484467b0 100644 --- a/editors/code/package.json +++ b/editors/code/package.json | |||
@@ -187,7 +187,29 @@ | |||
187 | "rust-analyzer.featureFlags": { | 187 | "rust-analyzer.featureFlags": { |
188 | "type": "object", | 188 | "type": "object", |
189 | "default": {}, | 189 | "default": {}, |
190 | "description": "Fine grained feature flags to disable annoying features" | 190 | "description": "Fine grained feature flags to disable annoying features", |
191 | "properties": { | ||
192 | "lsp.diagnostics": { | ||
193 | "type": "boolean", | ||
194 | "description": "Whether to show diagnostics from `cargo check`" | ||
195 | }, | ||
196 | "completion.insertion.add-call-parenthesis": { | ||
197 | "type": "boolean", | ||
198 | "description": "Whether to add parenthesis when completing functions" | ||
199 | }, | ||
200 | "completion.enable-postfix": { | ||
201 | "type": "boolean", | ||
202 | "description": "Whether to show postfix snippets like `dbg`, `if`, `not`, etc." | ||
203 | }, | ||
204 | "notifications.workspace-loaded": { | ||
205 | "type": "boolean", | ||
206 | "description": "Whether to show `workspace loaded` message" | ||
207 | }, | ||
208 | "notifications.cargo-toml-not-found": { | ||
209 | "type": "boolean", | ||
210 | "description": "Whether to show `can't find Cargo.toml` error message" | ||
211 | } | ||
212 | } | ||
191 | }, | 213 | }, |
192 | "rust-analyzer.serverPath": { | 214 | "rust-analyzer.serverPath": { |
193 | "type": [ | 215 | "type": [ |