Prettier - Code formatter installs statistics
By Prettier (4 listings) · VS Code Marketplace · Formatters
Code formatter using prettier
Prettier - Code formatter has 73,377,575 recorded installs on VS Code Marketplace, an increase of 0.8% over the past 30 days, ranking #11 of 2,515 tracked listings.
Rating: 3.54 / 5 from 492 ratings
About Prettier - Code formatter
Prettier Formatter for Visual Studio Code
Prettier is an opinionated code formatter. It enforces a consistent style by parsing your code and re-printing it with its own rules that take the maximum line length into account, wrapping code when necessary.
<p align="center"> <em> JavaScript · TypeScript · Flow · JSX · JSON </em> <br /> <em> CSS · SCSS · Less </em> <br /> <em> HTML · Vue · Angular </em> <em> HANDLEBARS · Ember · Glimmer </em> <br /> <em> GraphQL · Markdown · YAML </em> <br /> <em> <a href="https://prettier.io/docs/en/plugins.html"> Your favorite language? </a> </em> </p> <p align="center"> <a href="https://github.com/prettier/prettier-vscode/actions?query=workflow%3AMain"> <img alt="Build Status" src="https://github.com/prettier/prettier-vscode/workflows/Main/badge.svg?branch=main"></a> <a href="https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode"> <img alt="VS Code Marketplace Downloads" src="https://img.shields.io/visual-studio-marketplace/d/esbenp.prettier-vscode"></a> <a href="https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode"> <img alt="VS Code Marketplace Installs" src="https://img.shields.io/visual-studio-marketplace/i/esbenp.prettier-vscode"></a> <a href="#badge"> <img alt="code style: prettier" src="https://img.shields.io/badge/code_style-prettier-ff69b4.svg"></a> <a href="https://x.com/intent/follow?screen_name=PrettierCode"> <img alt="Follow Prettier on X" src="https://img.shields.io/badge/%40PrettierCode-9f9f9f?logo=x&labelColor=555"></a> </p>Installation
Install through VS Code extensions. Search for Prettier - Code formatter
Visual Studio Code Market Place: Prettier - Code formatter
Can also be installed in VS Code: Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
ext install esbenp.prettier-vscode
Default Formatter
To ensure that this extension is used over other extensions you may have installed, be sure to set it as the default formatter in your VS Code settings. This setting can be set for all languages or by a specific language.
{
"editor.defaultFormatter": "esbenp.prettier-vscode",
"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
}
}
Note: VS Code does not support combined language syntax for editor.defaultFormatter. You must set the formatter for each language separately:
// ❌ This will NOT work
{
"[javascript][typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
}
}
// ✅ Use separate blocks instead
{
"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
}
}
If you want to disable Prettier on a particular language you can either create a .prettierignore file or you can use VS Code's editor.defaultFormatter settings.
The following will use Prettier for all languages except Javascript.
{
"editor.defaultFormatter": "esbenp.prettier-vscode",
"[javascript]": {
"editor.defaultFormatter": "<another formatter>"
}
}
The following will use Prettier for only Javascript.
{
"editor.defaultFormatter": "<another formatter>",
"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
}
}
Additionally, you can disable format on save for specific languages if you don't want them to be automatically formatted.
{
"[javascript]": {
"editor.formatOnSave": false
}
}
Prettier Resolution
This extension will use prettier from your project's local dependencies (recommended). When the prettier.resolveGlobalModules is set to true the extension can also attempt to resolve global modules. Should prettier not be installed locally with your project's dependencies or globally on the machine, the version of prettier that is bundled with the extension will be used.
To install prettier in your project and pin its version as recommended, run:
npm install prettier -D --save-exact
NOTE: You will be prompted to confirm that you want the extension to load a Prettier module. This is done to ensure that you are not loading a module or script that is not trusted.
Prettier Versions
This extension bundles Prettier 3.x by default. If your project has a local installation of Prettier (in node_modules), that version will be used instead of the bundled version. This allows you to use a specific version of Prettier in your project.
Prettier 2.x Compatibility: Projects using Prettier 2.x are still fully supported. If you have Prettier 2.x installed locally in your project, the extension will automatically use that version.
Plugins
This extension supports Prettier plugins when you are using a locally or globally resolved version of prettier. If you have Prettier and a plugin registered in your package.json, this extension will attempt to register the language and provide automatic code formatting for the built-in and plugin languages.
Configuration…
Description from the VS Code Marketplace listing.
- angular
- commonmark
- css
- ember
- flow
- formatter
- glimmer
- graphql
- handlebars
- html
- ignore
- javascript
- js
- json
- jsx
- less
- markdown
- md
- mdx
- multi-root ready
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 (50)Similar VS Code Marketplace Formatters plugins
All 20 Prettier - Code formatter 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=esbenp.prettier-vscode. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.