diff options
| author | Laurențiu Nicola <lnicola@dend.ro> | 2023-03-20 08:31:01 +0200 |
|---|---|---|
| committer | Laurențiu Nicola <lnicola@dend.ro> | 2023-03-20 08:31:01 +0200 |
| commit | dbf04a5ee29101afbd1db665369bb1d21224efb5 (patch) | |
| tree | 7e3c862b526a3f7305549fb2a2e34dcbb38bb3a9 /editors/code/package.json | |
| parent | 544b4cfe4de2119807eb4d874c2cf095c5587bc4 (diff) | |
| download | rust-dbf04a5ee29101afbd1db665369bb1d21224efb5.tar.gz rust-dbf04a5ee29101afbd1db665369bb1d21224efb5.zip | |
:arrow_up: rust-analyzer
Diffstat (limited to 'editors/code/package.json')
| -rw-r--r-- | editors/code/package.json | 16 |
1 files changed, 16 insertions, 0 deletions
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 @@ -200,6 +200,11 @@ "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", "category": "rust-analyzer" @@ -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.", |
