diff options
| author | Lukas Wirth <lukas.wirth@ferrous-systems.com> | 2024-02-28 14:36:29 +0100 |
|---|---|---|
| committer | Lukas Wirth <lukastw97@gmail.com> | 2024-03-01 13:25:24 +0100 |
| commit | ed7e9aa5d8a5dfcfdb703f8f75977f70c2d45cb8 (patch) | |
| tree | 124fe8dc020f082242aba70017c718de3e4fdd94 /editors/code/package.json | |
| parent | c8fdcea85c273c386d1024815b955af6edae3fa2 (diff) | |
Simplify
Diffstat (limited to 'editors/code/package.json')
| -rw-r--r-- | editors/code/package.json | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/editors/code/package.json b/editors/code/package.json index 1633561ae3b..d86365591a6 100644 --- a/editors/code/package.json +++ b/editors/code/package.json @@ -671,6 +671,21 @@ "string" ] }, + "rust-analyzer.cargo.targetDir": { + "markdownDescription": "Optional path to a rust-analyzer specific target directory.\nThis prevents rust-analyzer's `cargo check` and initial build-script and proc-macro\nbuilding from locking the `Cargo.lock` at the expense of duplicating build artifacts.\n\nSet to `true` to use a subdirectory of the existing target directory or\nset to a path relative to the workspace to use that path.", + "default": null, + "anyOf": [ + { + "type": "null" + }, + { + "type": "boolean" + }, + { + "type": "string" + } + ] + }, "rust-analyzer.cargo.unsetTest": { "markdownDescription": "Unsets the implicit `#[cfg(test)]` for the specified crates.", "default": [ @@ -1543,21 +1558,6 @@ "type": "string" } }, - "rust-analyzer.rust.analyzerTargetDir": { - "markdownDescription": "Optional path to a rust-analyzer specific target directory.\nThis prevents rust-analyzer's `cargo check` from locking the `Cargo.lock`\nat the expense of duplicating build artifacts.\n\nSet to `true` to use a subdirectory of the existing target directory or\nset to a path relative to the workspace to use that path.", - "default": null, - "anyOf": [ - { - "type": "null" - }, - { - "type": "boolean" - }, - { - "type": "string" - } - ] - }, "rust-analyzer.rustc.source": { "markdownDescription": "Path to the Cargo.toml of the rust compiler workspace, for usage in rustc_private\nprojects, or \"discover\" to try to automatically find it if the `rustc-dev` component\nis installed.\n\nAny project which uses rust-analyzer with the rustcPrivate\ncrates must set `[package.metadata.rust-analyzer] rustc_private=true` to use it.\n\nThis option does not take effect until rust-analyzer is restarted.", "default": null, |
