ReSharper provides you with several ways to quickly make changes in your code where they are needed most. Thanks to its on-the-fly code analysis, ReSharper detects special places in the code that need your attention and gives you options to correct or modify code behavior. This functionality is provided in these two similar features:
Context Actions are a new feature in ReSharper 2.0. A large number of new Quick-Fixes have been added as well.
When a Quick-Fix or a Context Action is available, you will see a small lightbulb icon at the left side of the current line.
- stands for a Quick-Fix (or several of them).
- stands for a Context Action (or several).Both Quick-Fixes and Context Actions can also be invoked with the shortcut Alt + Enter.
Please refer to the corresponding topics for more details.
Context Actions | Quick-Fixes | Error Highlighting |Advanced Editing Features