-
Notifications
You must be signed in to change notification settings - Fork 12
Refactoring Keymap
Alistair McKinnell edited this page Nov 10, 2015
·
18 revisions
Rationale
Make it easier to refactor using the keyboard by adjusting the default keymap to super charge the Option + Command prefix for the most common refactoring actions.
Mechanism
| Binding | Action |
|---|---|
| Option + Command + R | Rename |
| Option + Command + M | Extract Method |
| Option + Command + V | Extract Variable |
| Option + Command + C | Extract Constant |
| Option + Command + P | Extract Parameter |
| Option + Command + I | Inline |
| Option + Command + J | Join Lines |
| Option + Command + Up Arrow | Extend Selection |
| Option + Command + Down Arrow | Shrink Selection |
Note: some of these are the default bindings; some of them are not.