JetBrains Rider
 
Get JetBrains Rider
Get your hands on the new features ahead of the release by joining the Early Access Program for Rider 2025.1! Learn more

Clang-Tidy integration

Last modified: 26 May 2024

Clang-Tidy is a powerful open-source code analysis tool based on the popular Clang compiler. It comes with an extensive set of code checks and accompanying fixes for typical programming errors.

JetBrains Rider provides seamless integration with Clang-Tidy. This means that as you edit a file, JetBrains Rider runs Clang-Tidy on it in background as a separate process, with inspection results shown alongside other JetBrains Rider's inspections. Unsaved files are handled transparently by saving the text of the current document to a temporary file and instructing Clang-Tidy to use it instead of the on-disk version.