mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-15 14:55:04 +00:00
Add a new config to allow renaming of non-local items
With #15656 we started disallowing renaming of non-local items. Although this makes sense there are some false positives that impacted users' workflows. So this config aims to mitigate this by giving users the liberty to disable this feature.
This commit is contained in:
parent
5b62ebc23f
commit
9bd9a17ce5
8 changed files with 65 additions and 17 deletions
|
@ -1503,6 +1503,11 @@
|
|||
"default": false,
|
||||
"type": "boolean"
|
||||
},
|
||||
"rust-analyzer.renameExternalItems.enable": {
|
||||
"markdownDescription": "Allow renaming of items not belonging to any workspace crates.",
|
||||
"default": false,
|
||||
"type": "boolean"
|
||||
},
|
||||
"rust-analyzer.runnables.command": {
|
||||
"markdownDescription": "Command to be executed instead of 'cargo' for runnables.",
|
||||
"default": null,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue