mirror of
https://github.com/rust-lang/rust.git
synced 2025-06-06 04:08:40 +00:00
v2
This commit is contained in:
parent
507448652a
commit
21020919e3
@ -494,8 +494,9 @@ config_data! {
|
|||||||
/// Exclude imports from find-all-references.
|
/// Exclude imports from find-all-references.
|
||||||
references_excludeImports: bool = "false",
|
references_excludeImports: bool = "false",
|
||||||
|
|
||||||
/// Allow renaming of items not belonging to any workspace crates.
|
/// Allow renaming of items not belonging to the loaded workspaces.
|
||||||
renameExternalItems_enable : bool = "false",
|
rename_allowExternalItems: bool = "false",
|
||||||
|
|
||||||
|
|
||||||
/// Command to be executed instead of 'cargo' for runnables.
|
/// Command to be executed instead of 'cargo' for runnables.
|
||||||
runnables_command: Option<String> = "null",
|
runnables_command: Option<String> = "null",
|
||||||
@ -1743,7 +1744,7 @@ impl Config {
|
|||||||
}
|
}
|
||||||
|
|
||||||
pub fn rename(&self) -> bool {
|
pub fn rename(&self) -> bool {
|
||||||
self.data.renameExternalItems_enable
|
self.data.rename_allowExternalItems
|
||||||
}
|
}
|
||||||
|
|
||||||
// FIXME: VSCode seems to work wrong sometimes, see https://github.com/microsoft/vscode/issues/193124
|
// FIXME: VSCode seems to work wrong sometimes, see https://github.com/microsoft/vscode/issues/193124
|
||||||
|
@ -777,10 +777,10 @@ Internal config, path to proc-macro server executable.
|
|||||||
--
|
--
|
||||||
Exclude imports from find-all-references.
|
Exclude imports from find-all-references.
|
||||||
--
|
--
|
||||||
[[rust-analyzer.renameExternalItems.enable]]rust-analyzer.renameExternalItems.enable (default: `false`)::
|
[[rust-analyzer.rename.allowExternalItems]]rust-analyzer.rename.allowExternalItems (default: `false`)::
|
||||||
+
|
+
|
||||||
--
|
--
|
||||||
Allow renaming of items not belonging to any workspace crates.
|
Allow renaming of items not belonging to the loaded workspaces.
|
||||||
--
|
--
|
||||||
[[rust-analyzer.runnables.command]]rust-analyzer.runnables.command (default: `null`)::
|
[[rust-analyzer.runnables.command]]rust-analyzer.runnables.command (default: `null`)::
|
||||||
+
|
+
|
||||||
|
@ -1503,8 +1503,8 @@
|
|||||||
"default": false,
|
"default": false,
|
||||||
"type": "boolean"
|
"type": "boolean"
|
||||||
},
|
},
|
||||||
"rust-analyzer.renameExternalItems.enable": {
|
"rust-analyzer.rename.allowExternalItems": {
|
||||||
"markdownDescription": "Allow renaming of items not belonging to any workspace crates.",
|
"markdownDescription": "Allow renaming of items not belonging to the loaded workspaces.",
|
||||||
"default": false,
|
"default": false,
|
||||||
"type": "boolean"
|
"type": "boolean"
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user