ReSharper
 
Get ReSharper
Get your hands on the new features ahead of the release by joining the Early Access Program for ReSharper 2025.1! Learn more

Refactor This

Last modified: 23 September 2024

This command is a shortcut to all ReSharper'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 , Class View, or Object Browser.

  • On the current item or selection in the File Structure window, type dependency diagram, or another ReSharper tool window.

This feature is supported in the following languages and technologies:

The instructions and examples given here address the use of the feature in C#. For more information about other languages, refer to corresponding topics in the Languages and frameworks section.