ReSharper 8.0 Web Help

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:
Coding_Assistance__Syntax_Highlighting__CSharp

To switch ReSharper syntax highlighting on or off
  1. On the main menu, choose ReSharper | Options . The Options dialog box opens.
  2. Open the Code Inspection | Settings page.
  3. Select the Color Identifiers check box to enable ReSharper syntax highlighting or clear the check box to disable this feature.
  4. 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:

C# VB.NET HTML ASPX Razor JavaScript TypeScript CSS XML XAML RESX Build Scripts
feature_available feature_available feature_available feature_available feature_available feature_available feature_available feature_available feature_available feature_available feature_available feature_available

Tip

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.