Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>space-filler-multicursorNew to Visual Studio Code? Get it now.
space-filler-multicursor

space-filler-multicursor

palsch

|
1 install
| (0) | Free
Insert spaces at all multi-cursors until all are in one vertical line
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Space Filler Multicursor

A VS Code extension that aligns all your multicursors to the same column by inserting spaces.

How It Works

  1. Place multiple cursors in your editor (using Cmd+D, Option+Click, etc.)
  2. Run the Align All Cursors to Same Column command
  3. The extension finds the rightmost cursor column and inserts spaces before every other cursor until they all line up

Example

Before (cursors shown as |):

const foo| = 1;
const longVariableName| = 2;
const x| = 3;

After:

const foo              | = 1;
const longVariableName | = 2;
const x                | = 3;

Usage

  • Command Palette: Align All Cursors to Same Column
  • Keybinding: Cmd+K A

Behavior Details

  • If multiple cursors are on the same line, only the one with the smallest column index is kept.
  • If only one cursor is active, a warning message explains how to use the command.
  • The entire operation is a single undo step — one Cmd+Z reverts everything.
  • Column is calculated by character index (not visual/tab-expanded position).

Release Notes

0.0.1

Initial release.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft