mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-28 05:53:45 +00:00
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 <gerzoh1@gmail.com>
This commit is contained in:
commit
2d5e54e955
1 changed files with 23 additions and 1 deletions
|
@ -187,7 +187,29 @@
|
|||
"rust-analyzer.featureFlags": {
|
||||
"type": "object",
|
||||
"default": {},
|
||||
"description": "Fine grained feature flags to disable annoying features"
|
||||
"description": "Fine grained feature flags to disable annoying features",
|
||||
"properties": {
|
||||
"lsp.diagnostics": {
|
||||
"type": "boolean",
|
||||
"description": "Whether to show diagnostics from `cargo check`"
|
||||
},
|
||||
"completion.insertion.add-call-parenthesis": {
|
||||
"type": "boolean",
|
||||
"description": "Whether to add parenthesis when completing functions"
|
||||
},
|
||||
"completion.enable-postfix": {
|
||||
"type": "boolean",
|
||||
"description": "Whether to show postfix snippets like `dbg`, `if`, `not`, etc."
|
||||
},
|
||||
"notifications.workspace-loaded": {
|
||||
"type": "boolean",
|
||||
"description": "Whether to show `workspace loaded` message"
|
||||
},
|
||||
"notifications.cargo-toml-not-found": {
|
||||
"type": "boolean",
|
||||
"description": "Whether to show `can't find Cargo.toml` error message"
|
||||
}
|
||||
}
|
||||
},
|
||||
"rust-analyzer.serverPath": {
|
||||
"type": [
|
||||
|
|
Loading…
Reference in a new issue