Skip to content

Commit 2fec838

Browse files
committed
move rust-analyzer.discoverProjectCommand above $generated-start to avoid failing tests
1 parent 667f5af commit 2fec838

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

editors/code/package.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -433,6 +433,17 @@
433433
"default": false,
434434
"type": "boolean"
435435
},
436+
"rust-analyzer.discoverProjectCommand": {
437+
"markdownDescription": "Sets the command that rust-analyzer uses to generate `rust-project.json` files. This command should only be used\n if a build system like Buck or Bazel is also in use. The command must accept files as arguments and return \n a rust-project.json over stdout.",
438+
"default": null,
439+
"type": [
440+
"null",
441+
"array"
442+
],
443+
"items": {
444+
"type": "string"
445+
}
446+
},
436447
"$generated-start": {},
437448
"rust-analyzer.assist.emitMustUse": {
438449
"markdownDescription": "Whether to insert #[must_use] when generating `as_` methods\nfor enum variants.",
@@ -452,17 +463,6 @@
452463
"Fill missing expressions with reasonable defaults, `new` or `default` constructors."
453464
]
454465
},
455-
"rust-analyzer.discoverProjectCommand": {
456-
"markdownDescription": "Sets the command that rust-analyzer uses to generate `rust-project.json` files. This command should only be used\n if a build system like Buck or Bazel is also in use. The command must accept files as arguments and return \n a rust-project.json over stdout.",
457-
"default": null,
458-
"type": [
459-
"null",
460-
"array"
461-
],
462-
"items": {
463-
"type": "string"
464-
}
465-
},
466466
"rust-analyzer.cachePriming.enable": {
467467
"markdownDescription": "Warm up caches on project load.",
468468
"default": true,

0 commit comments

Comments
 (0)