Skip to content
PluginStats

Trailing Spaces installs statistics

By Shardul Mahadik · VS Code Marketplace · Other

Highlight trailing spaces and delete them in a flash!

View on VS Code Marketplace Fresh · Dec 6, 2026

Trailing Spaces has 3,673,410 recorded installs on VS Code Marketplace, an increase of 0.9% over the past 30 days, ranking #220 of 2,515 tracked listings.

Installs
3,673,410
Official API · Dec 6, 2026
7-day growth
+0.2%
+8K installs
30-day growth
+0.9%
+34K installs
90-day growth
—
Insufficient history
Rank
#220
Among tracked VS Code Marketplace listings

Rating: 4.77 / 5 from 62 ratings

About Trailing Spaces

Trailing Spaces

CI VS Marketplace Version Rating Installs

A VS Code extension that allows you to…

highlight trailing spaces and delete them in a flash!

This extension is a port of the popular Sublime Text plugin Trailing Spaces.


Synopsis

VS Code provides a way to automate deletion of trailing spaces by using the Trim Trailing Whitespace command. Depending on your settings, it may be more handy to just highlight them and/or delete them by hand, at any time. This plugin provides just that, and a lot of options to fine-tune the way you want to decimate trailing spaces.

Installation

It is available through Visual Studio Marketplace and this is the recommended way of installation (brings integrated updates).

Usage

Delete

The main feature you gain from using this plugin is that of deleting all trailing spaces in the currently edited document. In order to use this deletion feature, you may either:

  • press F1 and select/type "Trailing Spaces: Delete"
  • bind the deletion command to a keyboard shortcut:

To add a key binding, open "File / Preferences / Keyboard Shortcuts" and add:

{ "key": "alt+shift+t",        "command": "trailing-spaces.deleteTrailingSpaces",
                                  "when": "editorTextFocus" },

With this setting, pressing <kbd>Alt + Shift + t</kbd> will delete all trailing spaces at once in the current file!

Delete - Modified Lines Only

You can also delete the trailing spaces exclusively from the modified (unsaved) lines. In order to use this deletion feature, you may either:

  • press F1 and select/type "Trailing Spaces: Delete - Modified Lines Only"
  • bind the deletion command to a keyboard shortcut:

To add a key binding, open "File / Preferences / Keyboard Shortcuts" and add:

{ "key": "alt+shift+m",        "command": "trailing-spaces.deleteTrailingSpacesModifiedLinesOnly",
                                  "when": "editorTextFocus" },
Highlight

At any time, you can highlight the trailing spaces. You may either:

  • press F1 and select/type "Trailing Spaces: Highlight"
  • bind the highlighting command to a keyboard shortcut:
{ "key": "alt+shift+h",        "command": "trailing-spaces.highlightTrailingSpaces",
                                  "when": "editorTextFocus" },

Options

Several options are available to customize the plugin's behavior. Those settings are stored in a configuration file, as JSON. You must use a specific file: Go to "File / Preferences / User Settings" to add your custom settings.

All settings are global (ie. applied to all opened documents).

Highlight Current Line

Default: true

Highlighting of trailing spaces in the currently edited line can be annoying: each time you are about to start a new word, the space you type is matched as a trailing spaces. Currently edited line can thus be ignored:

{ "trailing-spaces.highlightCurrentLine": false }

Even though the trailing spaces are not highlighted on this line, they are still internally matched and will be deleted when firing the deletion command. If you are editing multiple lines (using multiple cursors), all such lines will be ignored.

Include Empty Lines

Default: true

When firing the deletion command, empty lines are matched as trailing regions, and end up being deleted. You can specifically ignore them:

{ "trailing-spaces.includeEmptyLines": false }

They will not be highlighted either.

Note: This option only deletes the trailing spaces in blank lines and not the whole line itself. If you want to delete the newline character as well, please consider changing the regex.

Delete Modified Lines Only

Default: false

When firing the deletion command, trailing regions in the entire document are deleted. There are some use-cases when deleting trailing spaces only on lines you edited is smarter; for instance when commiting changes to some third-party source code.

At any time, you can change which area is covered when deleting trailing regions by changing the setting:

{ "trailing-spaces.deleteModifiedLinesOnly": true }
Trim On Save

Default: false

Setting this to true will ensure trailing spaces are deleted when you save your document. It abides by the other settings, such as Include Empty Lines.

{ "trailing-spaces.trimOnSave": true }
Live Matching vs On-demand Matching…

Description from the VS Code Marketplace listing.

  • delete
  • highlight
  • spaces
  • trailing

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

Trailing Spaces installs on VS Code Marketplace, last 90 days: 3,673,410 installs as of Dec 6, 2026.Trailing SpacesInstalls on VS Code Marketplace · Last 90 days3,673,410installs3.6M3.6M3.6M3.6M3.7M3.7M3.7M3.7MSep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6installsobservedarchived (Internet Archive)no observationsOct 16, 2026 – Dec 6, 2026 · 50 observations · Updated Dec…pluginstats.com
Trailing Spaces installs on VS Code Marketplace, last 90 days: 3,673,410 installs as of Dec 6, 2026.

7/30/90-day growth

Trailing Spaces installs growth on VS Code Marketplace: +0.2% over 7 days, +0.9% over 30 days, 90-day growth unavailable.Trailing SpacesInstalls growth on VS Code Marketplace3,673,410installs now7-day growth+7,981 installs+0.2%30-day growth+33,996 installs+0.9%90-day growthinsufficient historyInsufficient historyGrowth vs. nearest observation to each baseline date · Updated Dec 6, 2026pluginstats.com
Trailing Spaces installs growth on VS Code Marketplace: +0.2% over 7 days, +0.9% over 30 days, 90-day growth unavailable.

Ranking history

Trailing Spaces VS Code Marketplace ranking history: currently #220 (by installs).Trailing SpacesVS Code Marketplace ranking · by installs · Last 90 days#220current rank#217#218#219#220#221#222Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankOct 16, 2026 – Dec 6, 2026 · 50 observations · Updated Dec 6, 2026pluginstats.com
Trailing Spaces VS Code Marketplace ranking history: currently #220 (by installs).

Ratings over time

Trailing Spaces ratings on VS Code Marketplace, last 90 days: 62 ratings as of Dec 6, 2026.Trailing SpacesRatings on VS Code Marketplace · Last 90 days62ratings545658606264666870Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6ratingsobservedarchived (Internet Archive)no observationsOct 16, 2026 – Dec 6, 2026 · 50 observations · Updated Dec…pluginstats.com
Trailing Spaces ratings on VS Code Marketplace, last 90 days: 62 ratings as of Dec 6, 2026.

Listing placement

All VS Code Marketplace2,515 listings · 126 pages · 1,259 shown · page 11, #20 (overall #220)
All VS Code Marketplace: every listing in installs order

Listing placement

Other764 listings · 39 pages · page 4, #3 (overall #63)
Other: 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 Trailing Spaces
Date (UTC)InstallsChange vs. previous
3,673,410+956
3,672,454+1K
3,671,454+1.3K
3,670,133+981
3,669,152+1.8K
3,667,332+1.3K
3,665,995+566
3,665,429+724
3,664,705+1K
3,663,694+1.1K
3,662,643+2.2K
3,660,425+1K
3,659,384+904
3,658,480—

Similar VS Code Marketplace Other plugins

All 20 Trailing Spaces 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=shardulm94.trailing-spaces. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.