Skip to content
PluginStats

Custom Local Formatters installs statistics

By jkillian · VS Code Marketplace · Formatters

Allows users to register custom local formatters for any language.

View on VS Code Marketplace Fresh · Dec 6, 2026

Custom Local Formatters has 166,582 recorded installs on VS Code Marketplace, an increase of 11.0% over the past 30 days, ranking #1753 of 2,515 tracked listings.

Installs
166,582
Official API · Dec 6, 2026
7-day growth
+2.6%
+4.3K installs
30-day growth
+11.0%
+16.5K installs
90-day growth
—
Insufficient history
Rank
#1753
▲ 33 in 7 days

Rating: 4.50 / 5 from 4 ratings

About Custom Local Formatters

VSCode Custom Local Formatters

Lets users add formatters to VSCode that run locally defined scripts.

Motivation

VSCode's formatter features lets you quickly format code through the Format Document command (shift+alt+f) or automatically on save with the editor.formatOnSave option.

However, the only way to add new formatters to VSCode is by installing an extension. If you have custom formatting tools or scripts you want to run, there's no easy way to integrate them with VSCode currently.

This extension solves that problem by providing an easy way to register custom scripts as VSCode formatters. Here's an example of a custom python script that sorts imports and reformats code being run on a python file:

Extension in use

Quickstart

  1. Install this extension through the VSCode extensions panel or VSCode extensions marketplace.

  2. Define your custom formatting script. Scripts will receive the contents of the file to be formatted over STDIN. They should output the formatted results over STDOUT.

  3. Configure the extension to run your script on files of the right type. The script will be run with a working directory of the workspace root. Valid language identifiers can be found here. * is also a valid identifier, allowing a formatter to be used on any language.

      "customLocalFormatters.formatters": [
        {
          "command": "python format-yml-files.py",
          "languages": ["yml"]
        }
      ]
    
  4. That's it! Your script is now integrated with VSCode as an official formatter. You can now format your code though the Format Document command (shift+alt+f), enable the editor.formatOnSave option, or use the formatter however else VSCode allows.

Extension Settings

Basic usage is just to set a command and an array of languages it should apply to:

  "customLocalFormatters.formatters": [
    {
      "command": "python format-yml-files.py",
      "languages": ["yml"]
    }
  ]

You can also specify platform-specific commands instead if needed:

  "customLocalFormatters.formatters": [
    {
      "command": {
        "darwin": "gshuf",
        "*": "shuf"
      },
      "languages": ["yml"]
    }
  ]
Matching Files by Pattern

Instead of (or in addition to) languages, you can choose files with glob patterns. Patterns are matched relative to the workspace folder, so **/*.md matches Markdown files anywhere in the workspace and src/**/*.ts matches TypeScript files under src:

  "customLocalFormatters.formatters": [
    {
      "command": "dprint fmt --stdin ${file}",
      "patterns": ["**/*.json", "**/*.md", "**/*.toml"]
    }
  ]

When both languages and patterns are set, a file must match one of the languages and one of the patterns. Files outside the workspace, and untitled files that have never been saved, don't match any pattern.

Full extension configuration schema and documentation can be found in the package.json file.

Variable Substitution

The command argument can substitute the following patterns:

  • ${file}: The full path of the file being formatted
  • ${insertSpaces}: true if the editor is set to insert spaces, false if tabs
  • ${tabSize}: The width of a tab character, or the number of spaces inserted when pressing tab

eg.:

"customLocalFormatters.formatters": [
  { 
    "command": "treefmt --stdin ${file}",
    "languages": ["*"]
  }
]
Workspace Trust

Formatters run shell commands from the workspace folder, and most formatting tools load code or config from the project they run in. So this extension is disabled until you trust the workspace.

Known Limitations

VSCode doesn't seem to provide a way to name the formatter which an extension creates. This means that if you register multiple formatters for the same language, they will unfortunately both show up as 'Custom Local Formatters' and it will be difficult to tell them apart.

Description from the VS Code Marketplace listing.

  • custom
  • format
  • formatter
  • local
  • script

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

Custom Local Formatters installs on VS Code Marketplace, last 90 days: 166,582 installs as of Dec 6, 2026.Custom Local FormattersInstalls on VS Code Marketplace · Last 90 days166,582installs140K145K150K155K160K165K170KSep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6installsobservedarchived (Internet Archive)no observationsOct 16, 2026 – Dec 6, 2026 · 50 observations · Updated Dec…pluginstats.com
Custom Local Formatters installs on VS Code Marketplace, last 90 days: 166,582 installs as of Dec 6, 2026.

7/30/90-day growth

Custom Local Formatters installs growth on VS Code Marketplace: +2.6% over 7 days, +11.0% over 30 days, 90-day growth unavailable.Custom Local FormattersInstalls growth on VS Code Marketplace166,582installs now7-day growth+4,261 installs+2.6%30-day growth+16,498 installs+11.0%90-day growthinsufficient historyInsufficient historyGrowth vs. nearest observation to each baseline date · Updated Dec 6, 2026pluginstats.com
Custom Local Formatters installs growth on VS Code Marketplace: +2.6% over 7 days, +11.0% over 30 days, 90-day growth unavailable.

Ranking history

Custom Local Formatters VS Code Marketplace ranking history: currently #1753 (by installs).Custom Local FormattersVS Code Marketplace ranking · by installs · Last 90 days#1753current rank#1750#1800#1850#1900#1950Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankOct 16, 2026 – Dec 6, 2026 · 50 observations · Updated Dec 6, 2026pluginstats.com
Custom Local Formatters VS Code Marketplace ranking history: currently #1753 (by installs).

Ratings over time

Custom Local Formatters ratings on VS Code Marketplace, last 90 days: 4 ratings as of Dec 6, 2026.Custom Local FormattersRatings on VS Code Marketplace · Last 90 days4ratings3.63.844.24.4Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6ratingsobservedarchived (Internet Archive)no observationsOct 16, 2026 – Dec 6, 2026 · 50 observations · Updated Dec…pluginstats.com
Custom Local Formatters ratings on VS Code Marketplace, last 90 days: 4 ratings as of Dec 6, 2026.

Listing placement

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

Listing placement

Formatters284 listings · 15 pages · page 11, #7 (overall #207)
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 Custom Local Formatters
Date (UTC)InstallsChange vs. previous
166,582+845
165,737+481
165,256+702
164,554+722
163,832+621
163,211+479
162,732+411
162,321+131
162,190+910
161,280+600
160,680+297
160,383+1.3K
159,116+408
158,708—

Similar VS Code Marketplace Formatters plugins

All 20 Custom Local Formatters 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=jkillian.custom-local-formatters. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.