Skip to content

Commit 2d5e54e

Browse files
bors[bot]Veetaha
andauthored
Merge #3355
3355: vscode: added feature flags for better short-term ux r=matklad a=Veetaha See [this zulip thread](https://rust-lang.zulipchat.com/#narrow/stream/185405-t-compiler.2Fwg-rls-2.2E0/topic/Feature.20flags) for more details. Co-authored-by: Veetaha <[email protected]>
2 parents 553353e + 9251cd8 commit 2d5e54e

File tree

1 file changed

+23
-1
lines changed

1 file changed

+23
-1
lines changed

editors/code/package.json

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,29 @@
187187
"rust-analyzer.featureFlags": {
188188
"type": "object",
189189
"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+
}
191213
},
192214
"rust-analyzer.serverPath": {
193215
"type": [

0 commit comments

Comments
 (0)