Clang-Format installs statistics
By Xaver Hellauer (2 listings) · VS Code Marketplace · Formatters
Use Clang-Format in Visual Studio Code
Clang-Format has 2,690,218 recorded installs on VS Code Marketplace, ranking #275 of 2,501 tracked listings.
Rating: 4.00 / 5 from 18 ratings
About Clang-Format
README
Clang-Format is a tool to format C/C++/Java/JavaScript/Objective-C/Objective-C++/Protobuf code. It can be configured with a config file within the working folder or a parent folder. Configuration see: http://clang.llvm.org/docs/ClangFormatStyleOptions.html
Usage
This extension allows clang-format (version 3.8 or higher) to be used to format C/C++, Javascript etc. source files directly from within Visual Studio Code.
Files can be formatted on-demand by right clicking in the document and selecting "Format Document", or by using the associated keyboard shortcut (usually Ctrl+⇧+F on Windows, Ctrl+⇧+I on Linux, and ⇧+⌥+F on macOS).
To automatically format a file on save, add the following to your vscode settings.json file:
Specifying the location of clang-format
This extension will attempt to find clang-format on your PATH. Alternatively, the clang-format executable can be specified in your vscode settings.json file:
Placeholders can also be used in the clang-format.executable value. The following placeholders are supported:
• ${workspaceRoot} - replaced by the absolute path of the current vscode workspace root. • ${cwd} - replaced by the current working directory of vscode. • ${env.VAR} - replaced by the environment variable $VAR, e.g. ${env.HOME} will be replaced by $HOME, your home directory.
Some examples:
• ${workspaceRoot}/node_modules/.bin/clang-format - specifies the version of clang that has been added to your workspace by npm install clang-format. • ${env.HOME}/tools/clang38/clang-format - use a specific clang format version under your home directory.
Source code
Available on github: https://github.com/xaverh/vscode-clang-format-provider
Description from the VS Code Marketplace listing.
- apex
- c
- C++
- Clang
- cpp
- CUDA
- glsl
- java
- javascript
- LLVM
- objective-c
- objective-cpp
- proto
- proto3
- Protobuf
- typescript
README badge
Show your rank in a README or on your website. The badge updates automatically.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Ranking history
Ratings over time
Listing placement
Listing placement
Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.
Each band is one page of 20. Installs on a linear scale. Placement is projected from installs, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.
Recent observations
Full history (4)Similar VS Code Marketplace Formatters plugins
All 20 Clang-Format alternativesData source
Install counts, average rating, and rating counts come from the public Visual Studio Marketplace gallery API. Installs are cumulative and exclude updates.
Listing: https://marketplace.visualstudio.com/items?itemName=xaver.clang-format. First seen Oct 16, 2026; last successful collection Oct 19, 2026. See the methodology.