aboutsummaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2020-04-04 14:32:18 +0100
committerGitHub <[email protected]>2020-04-04 14:32:18 +0100
commit45b9d6d553cf4e48f41c6f0f101bf959b821e0c0 (patch)
treed9de26e703e25b8caeb1c0337db7b599b47c3b4e /editors
parent2071d0b8271ada3fca37e1302f346bacbab8b88e (diff)
parent486cb5b79aa9509ff86e19090f192512e23b809a (diff)
Merge #3844
3844: vscode: restore removed default values r=matklad a=Veetaha After refactoring the config we forgot to set defaults for some properties like workspaceLoaded, callInfo.full, etc. This commit restored them to being turned on by defult, as well added defaults for other props to be more explicit on their defualt value. cc @matklad Co-authored-by: veetaha <[email protected]>
Diffstat (limited to 'editors')
-rw-r--r--editors/code/package.json5
1 files changed, 5 insertions, 0 deletions
diff --git a/editors/code/package.json b/editors/code/package.json
index 595d6e378..f0d5127d4 100644
--- a/editors/code/package.json
+++ b/editors/code/package.json
@@ -211,10 +211,12 @@
211 }, 211 },
212 "rust-analyzer.notifications.workspaceLoaded": { 212 "rust-analyzer.notifications.workspaceLoaded": {
213 "type": "boolean", 213 "type": "boolean",
214 "default": true,
214 "markdownDescription": "Whether to show `workspace loaded` message." 215 "markdownDescription": "Whether to show `workspace loaded` message."
215 }, 216 },
216 "rust-analyzer.notifications.cargoTomlNotFound": { 217 "rust-analyzer.notifications.cargoTomlNotFound": {
217 "type": "boolean", 218 "type": "boolean",
219 "default": true,
218 "markdownDescription": "Whether to show `can't find Cargo.toml` error message" 220 "markdownDescription": "Whether to show `can't find Cargo.toml` error message"
219 }, 221 },
220 "rust-analyzer.cargo.noDefaultFeatures": { 222 "rust-analyzer.cargo.noDefaultFeatures": {
@@ -253,6 +255,7 @@
253 "items": { 255 "items": {
254 "type": "string" 256 "type": "string"
255 }, 257 },
258 "default": [],
256 "markdownDescription": "Advanced option, fully override the command rust-analyzer uses for formatting." 259 "markdownDescription": "Advanced option, fully override the command rust-analyzer uses for formatting."
257 }, 260 },
258 "rust-analyzer.checkOnSave.enable": { 261 "rust-analyzer.checkOnSave.enable": {
@@ -278,6 +281,7 @@
278 "items": { 281 "items": {
279 "type": "string" 282 "type": "string"
280 }, 283 },
284 "default": [],
281 "markdownDescription": "Advanced option, fully override the command rust-analyzer uses for checking. The command should include `--message=format=json` or similar option." 285 "markdownDescription": "Advanced option, fully override the command rust-analyzer uses for checking. The command should include `--message=format=json` or similar option."
282 }, 286 },
283 "rust-analyzer.checkOnSave.allTargets": { 287 "rust-analyzer.checkOnSave.allTargets": {
@@ -327,6 +331,7 @@
327 }, 331 },
328 "rust-analyzer.callInfo.full": { 332 "rust-analyzer.callInfo.full": {
329 "type": "boolean", 333 "type": "boolean",
334 "default": true,
330 "description": "Show function name and docs in parameter hints" 335 "description": "Show function name and docs in parameter hints"
331 }, 336 },
332 "rust-analyzer.highlighting.semanticTokens": { 337 "rust-analyzer.highlighting.semanticTokens": {