ReSharper 2022.1 Help

ReSharper by Language: C++

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. ReSharper detects C++ version automatically based on the platform toolset (General | Platform Toolset in the project properties) and/or on the /std switch.

In this section:

Unsupported and partly supported language constructs

Unsupported extensions:

  • C++/CX

Unsupported MS C++ extensions:

Partially supported MS C++ extensions:

Disabling ReSharper's code analysis engine with the __RESHARPER__ macro

If some C++ construct is not supported by ReSharper's code analysis engine or parsed incorrectly, you can disable ReSharper for this code with the __RESHARPER__ macro, i.e:

#ifndef __RESHARPER__ // This code will not be visible to ReSharper #endif

Make ReSharper ignore specific code

To exclude parts of your solution's code from code analysis, navigation, and other features, ReSharper allows you to ignore specific files, folders and file masks in different ways.

Last modified: 21 July 2022