about summary refs log tree commit diff
path: root/tests/codegen/patchable-function-entry
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-07-15 09:53:39 +0000
committerbors <bors@rust-lang.org>2024-07-15 09:53:39 +0000
commit82d0187cf81a1c694f29ef838273fcd3cec45c35 (patch)
tree8f53e6ef86d146a6fc2b4e7ab3a82a9e993a695c /tests/codegen/patchable-function-entry
parent305bd5d06604764a8c6244ccd1d4354e8b1a34f5 (diff)
parente03998bb639e8e22dd12d870d2fa059f9cb671e0 (diff)
downloadrust-82d0187cf81a1c694f29ef838273fcd3cec45c35.tar.gz
rust-82d0187cf81a1c694f29ef838273fcd3cec45c35.zip
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.
Diffstat (limited to 'tests/codegen/patchable-function-entry')
0 files changed, 0 insertions, 0 deletions