ReSharper 2024.3 Help

Find code issues with code inspection

Static code analysis in ReSharper is called Code Inspection and performed by applying over 2300 individual code inspections to your code in all supported languages.

Code issues can be found in several ways:

  • ReSharper finds and highlights code issues automatically in design time for all files opened in the editor.

  • The design time code inspection scope can be extended to the entire solution with the solution-wide analysis. In this case, you will be able to see all errors (and optionally warnings) in the solution as well as some additional issues in the opened files, for example, unused public members.

  • You can find code issues in the specified scope, which can be as large as the whole solution.

  • You can also find code issues from the command line.

You can extend the default set of code inspections with structural search and replace patterns, and get more inspections for specific purposes by using ReSharper extensions.

In this section:

This feature is supported in the following languages and technologies:

Language: C#

Language: VB.NET

Language: C++

Language: HTML

Language: ASP.NET

Language: Razor

Language: JavaScript

Language: TypeScript

Language: CSS

Language: XML

Language: XAML

Language: Resx

Language: Build Scripts

Language: Protobuf

Language: JSON

Feature is available in C#

Feature is available in Visual Basic

Feature is available in C++

Feature is available in HTML

Feature is available in ASP.NET

Feature is available in Razor

Feature is available in JavaScript

Feature is available in TypeScript

Feature is available in CSS

Feature is available in XML

Feature is available in XAML

Feature is available in Resource files

Feature is available in build script files

Feature is available in Protobuf

Feature is available in JSON

The instructions and examples given here address the use of the feature in C#. For more information about other languages, refer to corresponding topics in the Languages and frameworks section.

Last modified: 16 April 2024