Refactor BuddyRefactor Buddy adds practical refactor shortcuts for VS Code. It helps when a language server supports a refactor, but VS Code does not pick the right selection range or filters out the action because it is not marked as preferred. Features
Commands
How It WorksRefactor Buddy does not implement a full compiler-grade refactoring engine. It:
This keeps the extension small and lets Kotlin Server, rust-analyzer, and TS Server remain the source of truth. Language LimitsIf the active language server returns no matching action, Refactor Buddy cannot create that refactor by itself. Open Output: Refactor Buddy to see the exact actions returned for the current selection. For Kotlin, this means the result depends on JetBrains Kotlin Server or another Kotlin language server. For Rust, it depends on rust-analyzer assists exposed through VS Code code actions. TroubleshootingAfter installing or updating the extension, run:
Then retry the command and inspect:
If the log shows |