Languages and frameworks: C++
Last modified: 13 February 2025C++ support includes C, C++03, and partially C++11, C++14, C++17, C++20. ATL, MFC, and COM projects are supported. JetBrains Rider detects C++ version automatically based on the platform toolset (General | Platform Toolset in the project properties) and/or on the /std switch.
note
General-purpose C++ projects in Rider are only supported on Windows. On macOS and Linux, C++ support is currently limited to Unreal Engine projects.
In this section:
- Code analysis
- Coding assistance
- Code style assistance
- Clang-Tidy integration
- Doxygen documentation
- Using Clang-Format
- Navigation and search
- Code hierarchies
- Inlay hints
- Refactorings
- Code templates
- Code generation
- Disassembly view for C++
- Unit testing assistance
- C++/CLI Support
Unsupported and partly supported language constructs
Unsupported extensions:
C++/CX
Unsupported MS C++ extensions:
A new line immediately preceded by a backslash inside identifiers, keywords, and numeric literals
When resolving names used in templates, all names are treated as dependent names
Partially supported MS C++ extensions:
Disabling JetBrains Rider's code analysis engine with the __RESHARPER__ macro
If some C++ construct is not supported by JetBrains Rider's code analysis engine or parsed incorrectly, you can disable JetBrains Rider for this code with the __RESHARPER__
macro, i.e:
#ifndef __RESHARPER__
// This code will not be visible to JetBrains Rider
#endif
Make JetBrains Rider ignore specific code
To exclude parts of your solution's code from code analysis, navigation, and other features, JetBrains Rider allows you to ignore specific files, folders and file masks in different ways.