Skip to content
| Marketplace
Sign in
Visual Studio Code>Formatters>Align by RegEx RevNew to Visual Studio Code? Get it now.
Align by RegEx Rev

Align by RegEx Rev

Thang

|
2 installs
| (0) | Free
Aligns selected lines of text by a regular expression.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

align-by-regex-rev README

This extension is forked from align-by-regex

With this extension multiple lines of text can be aligned by a regular expression.

Features

  • Align multiple lines of text by regular expressions.
  • Store regular expressions as templates for repeated use (Usage: Type the name of the template instead of the regular expression).
  • Run alignment from the editor context menu, including a template selection submenu.

Examples

Example 1

Example 2

Extension Settings

This extension contributes the following settings:

  • align.by.regex.templates: Map which can hold user specified regular expression templates (i.e. "align.by.regex.templates": { "abc": "=|,|:"} ).

    The default templates are:

    {
        "align.by.regex.templates": {
            "yaml_comments": "\\s+#",
            "json_comments": "\\s+//"
        }
    }
    

Release Notes

1.0.5

  • Run alignment from the editor context menu, including a template selection submenu.
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft