rust-analyzer/crates/ide-diagnostics
bors e961b1aece Auto merge of #17587 - joshka:jm/edit-name-after-refactor, r=Veykril
Trigger VSCode to rename after extract variable assist is applied

When the user applies the "Extract Variable" assist, the cursor is
positioned at the newly inserted variable. This commit adds a command
to the assist that triggers the rename action in VSCode. This way, the
user can quickly rename the variable after applying the assist.

Fixes part of: #17579

https://github.com/user-attachments/assets/4cf38740-ab22-4b94-b0f1-eddd51c26c29

I haven't yet looked at the module or function extraction assists yet.
2024-07-15 09:53:39 +00:00
..
src Auto merge of #17587 - joshka:jm/edit-name-after-refactor, r=Veykril 2024-07-15 09:53:39 +00:00
Cargo.toml internal: Enforce utf8 paths 2024-03-19 15:39:00 +01:00