Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>equalizeNew to Visual Studio Code? Get it now.
equalize

equalize

mycelo

|
556 installs
| (0) | Free
Append spaces to make all lines of selection with same length
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

EQUALIZE extension for Visual Studio Code

Append spaces on blocks of lines to make them the same size.


Features

Given one or more groups of selected lines, this command would find out the length of the longest one and append spaces to the other lines, giving them all the same number of characters.

This is intended to make column/rectangle selections and operations more friendly.


How to Use

  • EQUALIZE -- Select lines and hit ctrl+alt+l. All selected lines would become the same length by adding spaces on the right.

  • UNEQUALIZE -- Select equalized lines and hit ctrl+alt+u. Exceeding spaces on the right of the lines will be trimmed.


equalizing lines


Extension Settings

Feature Command Shortcut Key
EQUALIZE extension.equalize ctrl+alt+l
UNEQUALIZE extension.unequalize ctrl+alt+u

Source

https://github.com/mycelo1/vsc-equalize


Support, issues and bug reports

Create an issue


Release Notes

1.0.0

Initial release.

1.0.1

  • Fixed screenshots
  • Added Github repository

1.1.0

  • Support for tab character

1.1.1

  • Added screen capture to README
  • New extension icon

1.1.2

  • Ignore the last line if not fully selected

1.2.0

  • Added UNEQUALIZE command
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft