From dbf04a5ee29101afbd1db665369bb1d21224efb5 Mon Sep 17 00:00:00 2001 From: Laurențiu Nicola Date: Mon, 20 Mar 2023 08:31:01 +0200 Subject: :arrow_up: rust-analyzer --- editors/code/package.json | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'editors/code/package.json') diff --git a/editors/code/package.json b/editors/code/package.json index a3b1a3107d0..c5eb08748bf 100644 --- a/editors/code/package.json +++ b/editors/code/package.json @@ -199,6 +199,11 @@ "title": "Reload workspace", "category": "rust-analyzer" }, + { + "command": "rust-analyzer.addProject", + "title": "Add current file's crate to workspace", + "category": "rust-analyzer" + }, { "command": "rust-analyzer.reload", "title": "Restart server", @@ -428,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.", -- cgit 1.4.1-3-g733a5