Search code examples
c#visual-studio-2008keyboard-shortcutscoderush-xpress

keyboard shortcut for viewing/applying available refactorings


I just installed CodeRush Express and was wondering is there any keyboard shortcut for viewing/applying available refactorings. Currently I have to click on the small underline/underscore to get the available refactorings.


Solution

  • The general shortcut for that dropdown in Ctrl + . (control + full stop). Works for VS even when CodeRush is not installed.

    Also for CodeRush is Ctrl + ' (Control + apostrophe) which will either show the refactoring list (without having to wait for the underscore to appear), or apply the refactoring if there is only one available.

    EDIT: The shortcut for CodeRush is Ctrl + ' for UK keyboards, but (I think) Ctrl + ` for US keyboards.