From 91371494eec262d6e8966f905497ee2e3c384181 Mon Sep 17 00:00:00 2001 From: David Barsky Date: Fri, 10 Mar 2023 13:09:16 -0500 Subject: [PATCH] move `rust-analyzer.discoverProjectCommand` above `$generated-start` to avoid failing tests --- editors/code/package.json | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/editors/code/package.json b/editors/code/package.json index 1e8cdb2eaa..1e7e3b6cd5 100644 --- a/editors/code/package.json +++ b/editors/code/package.json @@ -433,6 +433,17 @@ "default": false, "type": "boolean" }, + "rust-analyzer.discoverProjectCommand": { + "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.", + "default": null, + "type": [ + "null", + "array" + ], + "items": { + "type": "string" + } + }, "$generated-start": {}, "rust-analyzer.assist.emitMustUse": { "markdownDescription": "Whether to insert #[must_use] when generating `as_` methods\nfor enum variants.", @@ -452,17 +463,6 @@ "Fill missing expressions with reasonable defaults, `new` or `default` constructors." ] }, - "rust-analyzer.discoverProjectCommand": { - "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.", - "default": null, - "type": [ - "null", - "array" - ], - "items": { - "type": "string" - } - }, "rust-analyzer.cachePriming.enable": { "markdownDescription": "Warm up caches on project load.", "default": true,