Rider Help

Refactor This

Ctrl+Shift+R

This command is a shortcut to all Rider's refactorings available in the current context. You can invoke this command from almost any place:

  • On the declaration or usage of a symbol in the editor.
  • On the selection in the editor.
  • On the current item or selection in the Solution Explorer.

To view and apply contextually available refactorings

  1. Place the caret on a symbol in the editor or select the symbol in the Structure tool window.
  2. Press Ctrl+Shift+R.
  3. The Refactor This drop-down list appears.
    Refactor This list
  4. Choose an item from the list and click on it or press Enter.
Last modified: 11 October 2017