WebStorm: Refactoring Cheat Sheet

DEFAULT OS X KEYMAP

^TRefactor this
F5/F6Copy / Move
⌘DelSafe Delete
⇧F6Rename
⌘F6Change function signature
⌥⌘NInline variable
⌥⌘VExtract Variable
⌥⌘CExtract Constant
⌥⌘PExtract Parameter

DEFAULT WINDOWS & LINUX KEYMAP

Ctrl + Alt + Shift +T Refactor this
F5 / F6Copy / Move
Alt + DeleteSafe Delete
Shift + F6Rename
Ctrl + F6Change function signature
Ctrl + Alt + NInline Variable
Ctrl + Alt + MExtract Method
Ctrl + Alt + VExtract Variable
Ctrl + Alt + CExtract Constant
Ctrl + Alt + PExtract Parameter

Leave a Reply

Your email address will not be published. Required fields are marked *