ReSharper 2016.1 Help

Context Actions

ReSharper | Options | Code Editing | Context Actions

By selecting or clearing check boxes in this page, you can compile the list of available Context Actions. When you select a specific context action, you can read its description in the bottom of the page.

ReSharper provides the following context actions for common use:

NameDescription
Apply in-place refactoring Applies in-place refactoring. For more information, see inplace refactorings.
Format code Format code. When this action is enabled, ReSharper allows you to apply formatting rules in the current selection.
Import types for pasted code Imports types and extension methods for pasted code fragment
Namespace import fix for pasted code block
This action only appears if all non-imported types in the pasted code block can be unambiguously found in the referenced modules of the current project. For more information, see importing missing namespaces.
Run configuration from static method Run configuration from static method. For more information, see using run configurations
Run configuration from static method Run configuration from static method.
Surround items Surround items. When this action is enabled, surround actions and surround templates appear in the action list when you press Alt+Enter over a selected code block:
actions_list_surround

See Also

Last modified: 19 August 2016