Keyboard shortcut for 'refactor' for IntelliJ IDEA Keyboard shortcut for 'refactor' for IntelliJ IDEA windows windows

Keyboard shortcut for 'refactor' for IntelliJ IDEA


ctrl + alt + shift + t = refactor this

in intelliJ IDEA version 11.0.2


If you press on CTRL + Shift + A and type in the action you want to perform, it also shows the shortcuts keys. This way you can learn shortcuts much easier.

enter image description here


The range of refactoring options in IntelliJ is fantastic, right click in your editor and hit R to see the entire menu. You'll soon want to just use the keyboard shortcuts though; some of my favourites are:

  • Shift + F6 : refactor a method or variable name
  • Ctrl + Shift + F6 : refactor a variable / field type
  • Ctrl + Alt + M : extract a method
  • Ctrl + Alt + V : introduce a variable