2
0
Fork 0
mirror of https://github.com/rust-lang/rust-analyzer synced 2025-02-14 21:18:40 +00:00
rust-analyzer/editors/code/src
bors 8efe8a8528
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: 
2024-07-12 19:06:19 -07:00
..
ast_inspector.ts Tidy up vscode extension a bit 2024-06-19 09:42:06 +02:00
bootstrap.ts fix: Fix runnables being incorrectly constructed 2024-07-06 20:23:14 +02:00
client.ts Trigger VSCode to rename after extract variable assist is applied 2024-07-12 19:06:19 -07:00
commands.ts Trigger VSCode to rename after extract variable assist is applied 2024-07-12 19:06:19 -07:00
config.ts fix: Fix runnables being incorrectly constructed 2024-07-06 20:23:14 +02:00
ctx.ts fix: Fix runnables being incorrectly constructed 2024-07-06 20:23:14 +02:00
debug.ts Fix passing message-format after -- in debugging 2024-07-06 18:03:33 +02:00
dependencies_provider.ts Tidy up vscode extension a bit 2024-06-19 09:42:06 +02:00
diagnostics.ts Tidy up vscode extension a bit 2024-06-19 09:42:06 +02:00
lang_client.ts detect internal error via error.code instead of error message 2023-11-15 12:36:08 +01:00
lsp_ext.ts Flatten cargoExtraArgs away from the runnable lsp extension 2024-07-06 16:36:27 +02:00
main.ts Trigger VSCode to rename after extract variable assist is applied 2024-07-12 19:06:19 -07:00
persistent_state.ts editor/code: Sort the style to import types 2023-07-11 06:12:00 +09:00
run.ts fix: Fix runnables being incorrectly constructed 2024-07-06 20:23:14 +02:00
rust_project.ts Update JsonProject to include optional fields 2024-02-13 14:29:20 -08:00
snippets.ts Tidy up vscode extension a bit 2024-06-19 09:42:06 +02:00
tasks.ts fix: Fix runnables being incorrectly constructed 2024-07-06 20:23:14 +02:00
test_explorer.ts Resolve tests per file instead of per crate in test explorer 2024-03-29 05:34:43 +03:30
toolchain.ts Fix passing message-format after -- in debugging 2024-07-06 18:03:33 +02:00
util.ts Tidy up vscode extension a bit 2024-06-19 09:42:06 +02:00