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:
Name | Description |
---|---|
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 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: |
See Also
Concepts:
Reference:
- Context Actions for C#
- Context Actions for Visual Basic .NET
- Context Actions for HTML
- Context Actions for ASP.NET
- Context Actions for Razor
- Context Actions for JavaScript
- Context Actions for TypeScript
- Context Actions for CSS
- Context Actions for XML
- Context Actions for XAML
- Context Actions for Build Scripts
- Context Actions for JSON
External Links:
Last modified: 19 August 2016