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.