Skip to content
| Marketplace
Sign in
Visual Studio Code>Formatters>Align To ColumnNew to Visual Studio Code? Get it now.
Align To Column

Align To Column

ncantona

|
8 installs
| (1) | Free
Align cursor to a specific column using tabs
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Align To Column

A VS Code Extension that aligns your cursor to a configured column.

Features

  • Press Ctrl+Alt+A to align your current column to the target one
  • Inserts tabs until target column is reached
  • Removes tabs or spaces if ahead of target column
  • Configurable target column

Extension Settings

This extension provides the following settings:

  • alignToColumn.targetColumn: The target column to align to (Default: 35)

Keybindings

  • Ctrl+Alt+A: Align To Column

Usage

  1. Place your cursor at the desired position
  2. Press Ctrl+Alt+A
  3. The cursor aligns to the configured target column

Example

Demo

dcl-s test     [Cursor here at column 11]

After pressing Ctrl+Alt+A:

dcl-s test                    [Cursor now at column 35]
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft