ReSharper 2021.2 Help

Introduction

With unparalleled support for C#, VB.NET, C++, XAML, JavaScript, TypeScript, JSON, XML, HTML, CSS, ASP.NET, ASP.NET MVC, Protobuf, NAnt and MSBuild scripts including comprehensive cross-language functionality, JetBrains ReSharper will help any Visual Studio user write better code, easily examine and refactor existing codebases.

You can spend less time on routine, repetitive manual work and instead focus on the task at hand. A robust set of features for automatic error-checking and code correction cuts development time and increases your efficiency. You will find that ReSharper quickly pays back its cost in increased developer productivity and improved code quality. With ReSharper, .NET developers can truly experience what we mean when we say "The drive to develop".

If you landed on this page from ReSharper Help menu and you have the dotUltimate subscription, you might be interested in documentation for other JetBrains .NET products included in this subscription:

ReSharper features

ReSharper 2021.2 helps you improve your productivity by offering the following features:

Code quality analysis
With its design-time code inspection for all supported languages, ReSharper tells you right away if your code contains errors or can be improved. If necessary, you can also run static code analysis in any scope up to the entire solution.
Fixes to detected code issues
Not only does ReSharper warn you when there is a problem in your code, but it also provides quick-fixes to eliminate errors and code smells automatically.
Project dependency analysis
Invaluable for large solutions, ReSharper builds project hierarchies and visualizes project dependency diagram, which you can save and compare with new solution states at various stages, all without compiling anything.
Type dependency analysis
ReSharper can quickly analyze different kinds of dependencies between types in your solution and visualize them using hierarchical view or type dependency diagram.
Navigation and search
You can jump to any file, type, or member in your codebase in no time, or navigate from a specific symbol to its usages, base and derived symbols, or implementations.
Decompiling third-party code
An integrated decompiler lets you navigate to code in referenced assemblies; if an assembly is not referenced, you can open and browse it with the Assembly Explorer window enjoying the same navigation features as those you have for the source code.
Code editing helpers
Multiple code editing helpers including extended IntelliSense, hundreds of instant code transformations, auto-importing namespaces, rearranging code and displaying documentation.
Code generation
You don't have to write properties, overloads, implementations, and comparers by hand: use code generation actions to handle boilerplate code faster.
Safe change of your code base
Enjoy solution-wide refactorings to safely change your code base. Whether you need to revitalize legacy code or put your project structure in order, you can lean on ReSharper.
Compliance to coding standards
Code formatting, naming style assistance, and many other code style preferences which you can quickly enforce with code cleanup, allow you to get rid of unused code and ensure compliance to coding standards.
More features
ReSharper provides a lot more features: extensible templates, regular expressions assistance, internationalization assistance, a powerful unit test runner, just to name a few. There are also language-specific features: for example, those for ASP.NET/ASP.NET MVC, XAML, JavaScript, TypeScript or CSS.
Extensions
ReSharper extensions, which include full-fledged plug-ins, sets of templates, structural search and replace patterns, and more, are extremely easy to discover, install, and update. For more information, see ReSharper plugins web page.
Command line tools
If you like the way ReSharper inspects and cleans up your code, you can run code inspection, find code duplicates, or clean up code in your CI server or with standalone command-line tools.

Supported languages

The features of ReSharper 2021.2 are available in the following languages (including language injections):

  • C# is fully supported up to C# 9.0. For more information on configuring C# version, see ReSharper by Language: C#.

  • Visual Basic .NET is supported up to VB 14 and partially VB 15.

  • C++ support includes C, C++03, C++11, C++14, C++17, C++/CLI, and partially C++20. ATL, MFC and COM projects are supported.

  • HTML is supported up to HTML 5.

  • ASP.NET is supported up to version 4.0 and ASP.NET MVC up to version 5.0. Both the Web Site Project and the Web Application Project models are supported.

  • JavaScript is supported up to ECMAScript 2016, including experimental features such as async/await, exponentiation operator and rest/spread in object literals/destructuring. jQuery and JSX syntax are supported as well.

  • TypeScript is supported from v. 1.4 to v. 3.0.

  • CSS is supported up to 4.0.

  • XML is supported up to version 1.1.

  • XAML The latest supported Silverlight framework version is Silverlight 5. ReSharper recognizes symbols declared in XAML files and resolves references.

  • Build scripts of MSBuild and NAnt are supported.

  • JSON and JSON schema are supported.

  • Protobuf support are available for versions 2.x and 3.0.

To check the details of features in the supported languages, you can use ReSharper feature matrix or study the corresponding topics in the ReSharper by language section.

Products and licenses

Considering the different needs of our users, we offer different products and licenses:

  • ReSharper

    Provides features for all supported languages and technologies, including cross-language functionality.

  • dotUltimate

    This license allows you to use ReSharper as well as dotTrace, dotCover, and dotMemory.

    With this license, you can additionally use JetBrains Rider — a standalone cross-platform .NET IDE.

  • All Products Pack

    As its name suggests, this license gives you access to all JetBrains desktop products.

Depending on the license you have, the set of products will be activated automatically. During the evaluation period, all installed JetBrains .NET products are available. If necessary, you can disable some of them on the Environment | Products & Features page of ReSharper options (Alt+R, O).

General requirements and compatibility

The list of supported .NET Framework and Visual Studio versions as well as system requirements are available on the product website.

Also in this section

Last modified: 30 September 2021