Integrates clang-tidy into Visual Studio Code with an interactive sidebar and the ability to automatically apply fixes on file save. This extension works alongside the official clangd extension to elevate your C/C++ experience.
Features
.clang-tidy Native: Seamlessly utilizes your project's existing .clang-tidy configuration files to respect your specific rules and linting preferences.
Interactive Sidebar Panel: Review, filter, and inspect pending Clang-Tidy fixes detected in your workspace via a dedicated view in the Activity Bar.
Fix on Save: Automatically apply available Clang-Tidy quick fixes whenever you save a file.
Selective Fixing: Use regex-based filters to restrict which Clang-Tidy checks should have their fixes applied.
File Blacklisting: Ignore specific files or directories (like generated files or vendor libraries) from being checked/fixed.
Manual Commands: Scan or apply fixes on demand via the Command Palette.
Requirements
The extension relies on diagnostics and code actions provided by the C/C++ Language Server. It requires the clangd extension to be installed and active: