Skip to content
PluginStats

Better Align installs statistics

By wwm · VS Code Marketplace · Formatters

Align code without selecting them first.

View on VS Code Marketplace Fresh · Dec 6, 2026

Better Align has 556,387 recorded installs on VS Code Marketplace, an increase of 0.1% over the past 30 days, ranking #804 of 2,515 tracked listings.

Installs
556,387
Official API · Dec 6, 2026
7-day growth
+0.0%
+124 installs
30-day growth
+0.1%
+598 installs
90-day growth
—
Insufficient history
Rank
#804
Among tracked VS Code Marketplace listings

Rating: 4.29 / 5 from 38 ratings

About Better Align

Better Align

Current Version Install Count Rating

Features

Align your code by colon(:), assignment(=,+=,-=,*=,/=) and arrow(=>). It has additional support for comma-first coding style and trailing comment.

And it doesn't require you to select what to be aligned, the extension will figure it out by itself.

How to use

Place your cursor at where you want your code to be aligned, and invoke the Align command via Command Palette or customized shortcut. Then the code will be automatically aligned.

Screenshots

Comma-first sytle:

Comma-first style

Trailing comment:

Trailing comment

Align within selection:

Select a wide range and align them all

Shortcuts

There's no built-in shortcut comes with the extension, you have to add shotcuts by yourself:

  1. Open Command Palette and type open shortcuts to open keybinding settings
  2. Add something similar like this:
{ "key": "ctrl+cmd+=",  "command": "wwm.aligncode",
                           "when": "editorTextFocus && !editorReadonly" }

Extension Settings

alignment.operatorPadding : "left" | "right"

Specify how assignment operator will be aligned.

// Original code
this.abc=10;
this.cd+=12;

// left
this.abc =  10;
this.cd  += 12;

// right
this.abc  = 10;
this.cd  += 12;
alignment.indentBase : "firstline" | "activeline" | "dontchange"

Specify if it use the indentation of the firstline or the line under the cursor. Below are the activeline effect, notice how it's different from the screenshot above.

If indentBase is dontchange, better-align will only align lines with same indentation and will not modify the indentation.

activeline effect

alignment.surroundSpace

Default value:

alignment.surroundSpace : {
  "colon"      : [0, 1], // The first number specify how much space to add to the left, can be negative.
                         // The second number is how much space to the right, can be negative.
  "assignment" : [1, 1], // The same as above.
  "arrow"      : [1, 1], // The same as above.
  "comment"    : 2       // Special how much space to add between the trailing comment and the code.
                         // If this value is negative, it means don't align the trailing comment.
}
// Orignal code
var abc = {
  hello:      1
  ,my :2//comment
  ,friend:   3      // comment
}

// "colon": [0, 1]
// "comment": 2
var abc = {
    hello : 1
  , my    : 2  // comment
  , friend: 3  // comment
}

// "colon": [1, 2]
// "comment": 4
var abc = {
    hello  :  1
  , my     :  2    // comment
  , friend :  3    // comment
}

// "colon": [-1, 3]
// "comment": 2
var abc = {
    hello:    1
  , my:       2  // comment
  , friend:   3  // comment
}

// "colon": [-1, -1]
// "comment": 2
var abc = {
     hello:1
  ,     my:2  //comment
  , friend:3  // comment
}


// Orignal code
$data = array(
    'text' => 'something',
    'here is another' => 'sample'
);

// "arrow": [1, 3]
$data = array(
    'text'            =>   'something',
    'here is another' =>   'sample'
);

Description from the VS Code Marketplace listing.

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

Better Align installs on VS Code Marketplace, last 90 days: 556,387 installs as of Dec 6, 2026.Better AlignInstalls on VS Code Marketplace · Last 90 days556,387installs555.2K555.4K555.6K555.8K556K556.2K556.4KSep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6installsobservedarchived (Internet Archive)no observationsOct 16, 2026 – Dec 6, 2026 · 49 observations · Updated Dec…pluginstats.com
Better Align installs on VS Code Marketplace, last 90 days: 556,387 installs as of Dec 6, 2026.

7/30/90-day growth

Better Align installs growth on VS Code Marketplace: +0.0% over 7 days, +0.1% over 30 days, 90-day growth unavailable.Better AlignInstalls growth on VS Code Marketplace556,387installs now7-day growth+124 installs+0.0%30-day growth+598 installs+0.1%90-day growthinsufficient historyInsufficient historyGrowth vs. nearest observation to each baseline date · Updated Dec 6, 2026pluginstats.com
Better Align installs growth on VS Code Marketplace: +0.0% over 7 days, +0.1% over 30 days, 90-day growth unavailable.

Ranking history

Better Align VS Code Marketplace ranking history: currently #804 (by installs).Better AlignVS Code Marketplace ranking · by installs · Last 90 days#804current rank#796#798#800#802#804#806Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankOct 16, 2026 – Dec 6, 2026 · 50 observations · Updated Dec 6, 2026pluginstats.com
Better Align VS Code Marketplace ranking history: currently #804 (by installs).

Ratings over time

Better Align ratings on VS Code Marketplace, last 90 days: 38 ratings as of Dec 6, 2026.Better AlignRatings on VS Code Marketplace · Last 90 days38ratings3436384042Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6ratingsobservedarchived (Internet Archive)no observationsOct 16, 2026 – Dec 6, 2026 · 49 observations · Updated Dec…pluginstats.com
Better Align ratings on VS Code Marketplace, last 90 days: 38 ratings as of Dec 6, 2026.

Listing placement

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

Listing placement

Formatters284 listings · 15 pages · page 6, #10 (overall #110)
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 (49)
Recent installs observations for Better Align
Date (UTC)InstallsChange vs. previous
556,387+11
556,376+23
556,353+12
556,341+33
556,308+9
556,299+18
556,281+18
556,263+19
556,244+17
556,227+27
556,200+24
556,176+21
556,155+32
556,123—

Similar VS Code Marketplace Formatters plugins

All 20 Better Align 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=wwm.better-align. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.