Skip to content
| Marketplace
Sign in
Visual Studio Code>Linters>ClangDiagNew to Visual Studio Code? Get it now.
ClangDiag

ClangDiag

Aayush Chawla

|
2,973 installs
| (0) | Free
Performs clang-format diagnosis and highlights formatting issues.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

ClangDiag README

ClanDiag runs clang-format and highlights all locations which need re-formatting. clang-format must be installed on your system.

Provides options to run diagnosis or clear the highlights from the command palette or from the context menu.

Configuration options.

  • Set "clangDiag.clangFormatExecutable" in user settings to the path to your clang-format executable to use the extension.

  • Set "clangDiag.diagnoseOnChange accordingly to run diagnostics as you type.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft