From 9251cd8440ec48ef9174560d423423f4b5e412bc Mon Sep 17 00:00:00 2001 From: Veetaha Date: Thu, 27 Feb 2020 22:04:57 +0200 Subject: vscode: added feature flags for better short-term ux --- editors/code/package.json | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) 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 @@ "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": [ -- cgit v1.2.3