Skip to content
PluginStats

Pretty Formatter installs statistics

By mblode (3 listings) · VS Code Marketplace · Programming Languages

Safe Twig and HTML formatting, with bundled Prettier for JavaScript, TypeScript, CSS, JSON, XML and Liquid.

View on VS Code Marketplace Fresh · Oct 20, 2026

Pretty Formatter has 445,169 recorded installs on VS Code Marketplace, ranking #901 of 2,501 tracked listings.

Installs
445,169
Official API · Oct 20, 2026
7-day growth
—
Insufficient history
30-day growth
—
Insufficient history
90-day growth
—
Insufficient history
Rank
#901
Among tracked VS Code Marketplace listings

Rating: 3.69 / 5 from 13 ratings

About Pretty Formatter

Pretty Formatter

Format Twig and HTML without losing template code, with bundled Prettier parsers for JavaScript, TypeScript, stylesheets, JSON, XML and Liquid. No project configuration, plugins or external runtime are required.

Choose Format Document With… → Pretty Formatter → Configure Default Formatter, or configure a language:

{
  "[twig]": { "editor.defaultFormatter": "mblode.pretty-formatter" },
  "[typescript]": { "editor.defaultFormatter": "mblode.pretty-formatter" }
}

For Twig highlighting, snippets and HTML completion, install Twig Language 2. Both extensions share the Twig formatter. Select one default formatter per language.

Languages

Language IDsBehavior
twig, htmlSource-preserving Twig/HTML formatter. Conditional attributes, crossing HTML/Twig blocks, raw regions and inline text are preserved. Safe embedded JS/CSS uses Prettier.
jinja, nunjucks, voltShared template formatting for compatible delimiters. Expressions retain their source tokens; this is not a complete compiler for these dialects.
javascript, js, javascriptreact, jsx, flowPrettier JavaScript/JSX/Flow parsers.
typescript, typescriptreact, ts, tsxPrettier TypeScript parser.
json, jsonc, css, scss, less, handlebarsCorresponding bundled Prettier parsers.
xml, xsltPrettier XML plugin, with strict text whitespace preservation.
liquidShopify's Liquid parser and printer.
eex, ejs, erb, aspx, tpl, ftl, cfm, cfmlConservative surrounding HTML indentation. Template spans and CFScript bodies retain their exact bytes; expressions and dialect control-flow layout are not rewritten.
qmlBrace indentation only, preserving colon spacing and strings.

YAML frontmatter remains byte-for-byte unchanged in template documents. Language extensions provide any language IDs not built into VS Code; Pretty Formatter does not take ownership of file associations.

The old PrettyDiff listing claimed other dialects without reliable parser support. vtl, dust, genshi, htl, mustache, SilverStripe, spacebars, leaf, vash, alloy-tss, tss and indented sass currently have no formatter provider. Python and C# are also unsupported. They are never guessed as JavaScript or HTML. Additional dialects need a real parser and regression evidence before support is restored.

Settings and migration from 0.2.x

Changes apply immediately and respect document, workspace-folder and language overrides.

  • pretty-formatter.formatting: enable formatting, default true.
  • pretty-formatter.disableLanguages: list of language IDs to skip.
  • pretty-formatter.ignore: path globs with *, **, ?; a bare directory such as vendor matches any path segment.
  • pretty-formatter.indentSize: 0 uses the editor's current document indentation. Positive values override the width; tabs follow editor.insertSpaces.
  • pretty-formatter.wrap: preferred width; 0 uses 80 for Prettier and retains Twig/HTML attribute wrapping.
  • pretty-formatter.forceAttribute, spaceClose: Twig/HTML attribute layout.
  • pretty-formatter.quoteConvert: single or double for Prettier code; Twig literals retain their quotes.
  • pretty-formatter.endComma: always or never for applicable Prettier code; none uses parser defaults.
  • pretty-formatter.newLine: final-newline preference where it does not modify literal template text.
  • pretty-formatter.embeddedFormatting: safe embedded JavaScript/CSS in Twig/HTML, default true.
  • pretty-formatter.formatTimeout: worker limit in milliseconds, default 5000.

Other PrettyDiff settings are deprecated and explicitly marked unused in VS Code. Version 0.3.0 removes PrettyDiff, so supported code languages adopt Prettier layout defaults. It never loads project Prettier configuration or third-party workspace plugins.

Formatting runs in a disposable worker with cancellation, stale-document checks and a 2 MiB limit. A parser error or timeout returns no edits and a diagnostic in Output → Pretty Formatter. Twig selections use full-document context. Other parsers may require a larger syntax unit; when an edit would escape the selection, use Format Document.

VS Code 1.85+ desktop and remote extension hosts are supported, including untrusted workspaces and non-file documents. A browser-only extension host is not included.

Development

Use Node 22. Run npm ci, composer install --working-dir=test/php, npm test, npm run test:oracle, npm run package, and npm run test:extension. PHP is used only for the independent Twig lexer/render tests. CI tests the extracted VSIX in current stable VS Code. The regression corpus comes from the three-extension audit.

Description from the VS Code Marketplace listing.

  • aspx
  • beautify
  • cfm
  • cfml
  • css
  • eex
  • ejs
  • erb
  • flow
  • format
  • ftl
  • handlebars
  • html
  • javascript
  • javascriptreact
  • jinja
  • js
  • json
  • jsonc
  • jsx

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

Pretty Formatter installs on VS Code Marketplace, last 90 days: 445,169 installs as of Oct 20, 2026.Pretty FormatterInstalls on VS Code Marketplace · Last 90 days445,169installs444.9K444.9K445K445K445.1K445.1K445.2K445.2KJul 22Aug 6Aug 21Sep 5Sep 20Oct 5Oct 20installsobservedarchived (Internet Archive)no observationsOct 16, 2026 – Oct 20, 2026 · 5 observations · Updated Oct…pluginstats.com
Pretty Formatter installs on VS Code Marketplace, last 90 days: 445,169 installs as of Oct 20, 2026.

7/30/90-day growth

Pretty Formatter installs growth on VS Code Marketplace: 7-day growth unavailable, 30-day growth unavailable, 90-day growth unavailable.Pretty FormatterInstalls growth on VS Code Marketplace445,169installs now7-day growthinsufficient historyInsufficient history30-day growthinsufficient historyInsufficient history90-day growthinsufficient historyInsufficient historyGrowth vs. nearest observation to each baseline date · Updated Oct 20, 2026pluginstats.com
Pretty Formatter installs growth on VS Code Marketplace: 7-day growth unavailable, 30-day growth unavailable, 90-day growth unavailable.

Ranking history

Pretty Formatter VS Code Marketplace ranking history: currently #901 (by installs).Pretty FormatterVS Code Marketplace ranking · by installs · Last 90 days#901current rank#898#899#900#901#902#903Jul 22Aug 6Aug 21Sep 5Sep 20Oct 5Oct 20rankOct 16, 2026 – Oct 20, 2026 · 5 observations · Updated Oct 20, 2026pluginstats.com
Pretty Formatter VS Code Marketplace ranking history: currently #901 (by installs).

Ratings over time

Pretty Formatter ratings on VS Code Marketplace, last 90 days: 13 ratings as of Oct 20, 2026.Pretty FormatterRatings on VS Code Marketplace · Last 90 days13ratings11.51212.51313.51414.5Jul 22Aug 6Aug 21Sep 5Sep 20Oct 5Oct 20ratingsobservedarchived (Internet Archive)no observationsOct 16, 2026 – Oct 20, 2026 · 5 observations · Updated Oct…pluginstats.com
Pretty Formatter ratings on VS Code Marketplace, last 90 days: 13 ratings as of Oct 20, 2026.

Listing placement

All VS Code Marketplace2,501 listings · 126 pages · 1,251 shown · page 46, #1 (overall #901)
All VS Code Marketplace: every listing in installs order

Listing placement

Programming Languages792 listings · 40 pages · page 17, #14 (overall #334)
Programming Languages: every listing in installs order

Listing placement

Snippets489 listings · 25 pages · page 9, #7 (overall #167)
Snippets: every listing in installs order

Listing placement

Formatters286 listings · 15 pages · page 6, #16 (overall #116)
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 (5)
Recent installs observations for Pretty Formatter
Date (UTC)InstallsChange vs. previous
445,169+91
445,078+108
444,970+11
444,959+67
444,892—

Similar VS Code Marketplace Programming Languages plugins

All 20 Pretty Formatter 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=mblode.pretty-formatter. First seen Oct 16, 2026; last successful collection Oct 20, 2026. See the methodology.