Skip to content
PluginStats

Prettier - Code formatter (Rust) installs statistics

By jinxdash · VS Code Marketplace · Formatters

Prettier Rust is a code formatter that autocorrects bad syntax

View on VS Code Marketplace Fresh · Dec 6, 2026

Prettier - Code formatter (Rust) has 135,559 recorded installs on VS Code Marketplace, an increase of 2.4% over the past 30 days, ranking #1993 of 2,515 tracked listings.

Installs
135,559
Official API · Dec 6, 2026
7-day growth
+0.5%
+740 installs
30-day growth
+2.4%
+3.1K installs
90-day growth
—
Insufficient history
Rank
#1993
▲ 3 in 7 days

Rating: 4.33 / 5 from 6 ratings

About Prettier - Code formatter (Rust)

<div align="center"> <img alt="Prettier Rust" height="256px" src="https://user-images.githubusercontent.com/109366411/181039409-b66d6a4c-bbc7-4fbb-8a79-d7bb1af87a63.png"> </div> <h1 align="center">Prettier Rust</h1> <div align="center">

GitHub license npm version GitHub Repo stars Twitter Follow

The massively popular Prettier code formatter, now with Rust support!

This extension is a standalone bundle of Prettier + Prettier Plugin Rust.

</div>

Why Prettier?

What usually happens once people start using Prettier is that they realize how much time and mental energy they actually spend formatting their code. No matter how incomplete or broken the code you're working on is, with the Prettier Editor Extension you can always just press the Format Document key binding and *poof*, the code snaps right into place.

<br>
  • Beautiful, uniform and consistent — Prettier is strongly opinionated, with no style options.
  • There when you need it the most — Prettier can format code that won't compile (e.g. missing annotations)
  • Speed up the day-to-day — Prettier auto-fixes common syntax errors (e.g. missing semicolons, blocks, parentheses)
<br> <table align="center"> <tr> <th>> input</th> <th>> formatted</th> </tr> <tr> <td> <!-- prettier-ignore -->
const LEET = 1337
/// My WIP code draft
#![feature(crate_visibility_modifier)]
async crate fn foo(arg) {
  arg.0 *= 3.14 + LEET & 1337
  arg.1(|b, c| -> T &c).await
}
</td> <td> <!-- prettier-ignore -->
const LEET = 1337;
#![feature(crate_visibility_modifier)]
/// My WIP code draft
crate async fn foo(arg) {
    arg.0 *= (3.14 + LEET) & 1337;
    (arg.1)(|b, c| -> T { &c }).await
}
</td> </tr> </table> <div align="center">

Formatting succeeds and fixes 7 syntax errors.

</div> <br>

Configuration

https://prettier.io/docs/en/configuration

<!-- prettier-ignore -->
// .prettierrc.json
{
  "useTabs": false,
  "tabWidth": 4,
  "printWidth": 100,
  "endOfLine": "lf",

  // -- Not supported yet --
  // "trailingComma": "es5",
  // "embeddedLanguageFormatting": "auto",

  // Example override
  "overrides": { "files": ["tests/*.rs"], "options": { "printWidth": 80 } }
}
<details> <summary>Alternative config using TOML</summary>
# .prettierrc.toml

useTabs = false
tabWidth = 4
printWidth = 100
endOfLine = "lf"

# -- Not supported yet --
# trailingComma = "es5"
# embeddedLanguageFormatting = "auto"

# Example override
overrides = [
  { files = ["tests/*.rs"], options = { printWidth = 80 } }
]
</details>
How to ignore things
  • Add // prettier-ignore or #[rustfmt::skip] above it
  • Add #![rustfmt::skip] inside blocks or files
  • Create a .prettierignore file to glob-match files, like .gitignore
How are macros formatted?
  • Curlies !{} format like blocks, ![] and !() like comma-separated expressions
  • Formatting inside macro invocations is more conservative, since macros can be token-sensitive
  • Popular/built-in macros with original syntax rules get custom formatting (e.g. matches!, if_chains!...) [Not implemented yet]
  • Macro Declarations are only partially formatted (the transformed part isn't yet, but could be in the future)
  • Macros that can't be formatted are silently ignored
Are nightly features supported?

Yes! Prettier Rust formats most nightly features. Support depends on jinx-rust.

<br>

Project integration

  • Command line

    Requires NodeJS

    • Install prettier and prettier-plugin-rust globally

      npm install --global prettier-plugin-rust prettier
      
    • Use the prettier CLI to format rust files. E.g. run:

      prettier --write **/*.rs
      
  • NodeJS package

    Requires NodeJS

    • Install prettier and prettier-plugin-rust in the project

      npm install --save-dev prettier-plugin-rust prettier
      
    • Link to the plugin's location in your prettier config:

      "plugins": ["./node_modules/prettier-plugin-rust"]
      
    • Use the prettier CLI to format rust files. E.g. run:

      npx prettier --write **/*.rs
      
  • Rust crate

    No crate yet. Above options are available in the meantime.

<br>

Q&A

  • Why would I use this and not the established cargo fmt ?

    It's all about the Editor Integration — Having the ability to format your code while you work on it really makes for a great developer experience, and autocompletion for Rust's strict syntax is such a massive time save. Once you've tried the extension there really is no coming back.

    All-in-all the difference in code style is minimal, so adopting Prettier Rust won't drastically change your codebase. The real downside is the harsher integration with the Rust ecosystem, but it'll get better eventually.

    Point by point:…

Description from the VS Code Marketplace listing.

  • formatter
  • prettier
  • rs
  • rust

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

Prettier - Code formatter (Rust) installs on VS Code Marketplace, last 90 days: 135,559 installs as of Dec 6, 2026.Prettier - Code formatter (Rust)Installs on VS Code Marketplace · Last 90 days135,559installs130K131K132K133K134K135K136KSep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6installsobservedarchived (Internet Archive)no observationsOct 16, 2026 – Dec 6, 2026 · 50 observations · Updated Dec…pluginstats.com
Prettier - Code formatter (Rust) installs on VS Code Marketplace, last 90 days: 135,559 installs as of Dec 6, 2026.

7/30/90-day growth

Prettier - Code formatter (Rust) installs growth on VS Code Marketplace: +0.5% over 7 days, +2.4% over 30 days, 90-day growth unavailable.Prettier - Code formatter (Rust)Installs growth on VS Code Marketplace135,559installs now7-day growth+740 installs+0.5%30-day growth+3,123 installs+2.4%90-day growthinsufficient historyInsufficient historyGrowth vs. nearest observation to each baseline date · Updated Dec 6, 2026pluginstats.com
Prettier - Code formatter (Rust) installs growth on VS Code Marketplace: +0.5% over 7 days, +2.4% over 30 days, 90-day growth unavailable.

Ranking history

Prettier - Code formatter (Rust) VS Code Marketplace ranking history: currently #1993 (by installs).Prettier - Code formatter (Rust)VS Code Marketplace ranking · by installs · Last 90 days#1993current rank#1990#1995#2000#2005#2010#2015#2020#2025Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankOct 16, 2026 – Dec 6, 2026 · 50 observations · Updated Dec 6, 2026pluginstats.com
Prettier - Code formatter (Rust) VS Code Marketplace ranking history: currently #1993 (by installs).

Ratings over time

Prettier - Code formatter (Rust) ratings on VS Code Marketplace, last 90 days: 6 ratings as of Dec 6, 2026.Prettier - Code formatter (Rust)Ratings on VS Code Marketplace · Last 90 days6ratings5.45.65.866.26.46.6Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6ratingsobservedarchived (Internet Archive)no observationsOct 16, 2026 – Dec 6, 2026 · 50 observations · Updated Dec…pluginstats.com
Prettier - Code formatter (Rust) ratings on VS Code Marketplace, last 90 days: 6 ratings as of Dec 6, 2026.

Listing placement

All VS Code Marketplace2,515 listings · 126 pages · 1,258 shown · page 100, #17 (overall #1,997)
All VS Code Marketplace: every listing in installs order

Listing placement

Formatters284 listings · 15 pages · page 12, #12 (overall #232)
Formatters: every listing in installs order

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)
Recent installs observations for Prettier - Code formatter (Rust)
Date (UTC)InstallsChange vs. previous
135,559+84
135,475+136
135,339+70
135,269+87
135,182+165
135,017+94
134,923+104
134,819+107
134,712+90
134,622+115
134,507+55
134,452+124
134,328+72
134,256—

Similar VS Code Marketplace Formatters plugins

All 20 Prettier - Code formatter (Rust) alternatives

Data 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=jinxdash.prettier-rust. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.