Language-independent context actions
ReSharper provides the following context actions for common use:
Name | Description |
---|---|
[AI] Explain RegExp | Explain given regular expression powered by AI |
[AI] Implement this | Implement function powered by AI |
Apply in-place refactoring | Applies in-place refactoring For more information, refer to inplace refactorings. |
Apply in-place refactoring (popup) | Applies in-place refactoring |
Apply smart paste behavior (popup) | Escapes pasted text according to the context |
Comment selection | Comments selection |
Edit with Localization Manager | Edits the current resource with Localization Manager For more information, refer to Localization Manager |
Encapsulate field | Encapsulates field into a property if there is no existing one This context action invokes the encapsulate field refactoring. |
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, refer to import missing namespaces. |
Mark as injected language or reference | Recognizes literal expression content as some language or reference |
Reformat and cleanup… | Provides actions to perform code cleanup on selection |
Surround items | Surrounds selected 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: |
Wrap long line | Wraps long line |