aboutsummaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorVeetaha <[email protected]>2020-02-27 20:04:57 +0000
committerVeetaha <[email protected]>2020-02-27 20:04:57 +0000
commit9251cd8440ec48ef9174560d423423f4b5e412bc (patch)
tree3f8aeb694aeffb0e4eb156ea068749b5e1a427f3 /editors
parente0c6e106d9909f34f1b8bbf2b18dee6ece47aa91 (diff)
vscode: added feature flags for better short-term ux
Diffstat (limited to 'editors')
-rw-r--r--editors/code/package.json24
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": [