Skip to content
| Marketplace
Sign in
Visual Studio Code>Formatters>Text AlignNew to Visual Studio Code? Get it now.
Text Align

Text Align

Anson Miu

|
2,875 installs
| (1) | Free
Horizontally align text in VS Code!
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

vscode-text-align

Version

Horizontally align text in VS Code!


Demo


💡 Features

  • [x] Horizontally align text - left, center, right
  • [x] Customise maximum line length
  • [x] Supports multiple selections

💻 Installation

Preferred: from VSCE Marketplace

Download from https://marketplace.visualstudio.com/items?itemName=AnsonMiu.text-align

Alternative: from GitHub releases

  1. Download the .vsix file from the GitHub releases page
  2. Install using the Install from VSIX command in the Extensions view command dropdown, or the Extensions: Install from VSIX command in the Command Palette, point to the .vsix file.

🛠 Extension Settings

This extension contributes the following settings:

  • text-align.maxLineLength: maximum length of line, defaults to 79
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft