ReSharper extends the default highlighting support of Visual Studio with highlighting for fields, local variables, types, and more, in both C# and VB.NET. In particular, you can easily distinguish between local variables and fields in your code.
The default syntax highlighting for C# looks as follows:
- On the main menu, choose ReSharper | Options . The Options dialog box opens.
- Open the Code Inspection | Settings page.
- Select the Color Identifiers check box to enable ReSharper syntax highlighting or clear the check box to disable this feature.
- Click Save to apply the modifications and let ReSharper choose the settings layer, or choose a particular settings layer in the Save To drop-down list. To learn more about saving ReSharper settings, see JetBrains .NET Tools Blog: Save or Save To in ReSharper Options.
For guidelines on how to configure fonts and colors for ReSharper syntax highlighting, see Configuring Syntax Highlighting Fonts and Colors.
This feature is supported in the following languages/technologies:
The instructions and examples given here address the use of the feature in C#. For details specific to other languages, see the corresponding topics in the ReSharper by Language section.