views:

27

answers:

2

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.

+1  A: 

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.

Dr Herbie
+1  A: 

Try hitting Ctrl+Shift+Alt+O, which will bring up the options dialog for CodeRush Express, where you can find the keyboard shortcuts.

If I'm not mistaken, the CR Express shortcut for refactoring defaults to the backtick key on english keyboards.

Personally I have bound it to Alt+Enter.

Lasse V. Karlsen