-
Notifications
You must be signed in to change notification settings - Fork 34.6k
Description
Refactoring like extract method
don't seem like a great fit for the code actions or any other API that VSCode offers. This issue tracks an investigation of what a better ux/api for refactorings could look like
Problems / Background Info
-
@Gama11 makes some very good points about why refactorings don't seem to fit well with the current code action model: Annoying "lightbulb" whenever placing cursor into constant js/ts expression #33241 (comment)
-
No way to configure a keybinding for specific code actions / refactoring: Keybinding for applying a specific code action #33049
-
No feedback on why a refactoring is not available: Extract method / functiom must give feedback when a selection is not extractable and why #33501
Any other problems you've noticed or thoughts on refactoring support?