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

Align by RegEx

Jan Jörke

|
15,558 installs
| (16) | 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 README

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).

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": "=|,|:"} ).

Contributors

  • Carl

Release Notes

1.0.4

Fixed an error which could lead to missing spaces in some cases.

1.0.3

Fixed an error which could lead to an infinite loop. Fixed an error, introduced in 1.0.2, which could break alignment in some cases.

1.0.2

Multiple alignment isses have been fixed.

1.0.1

Minor Bugfixes.

1.0.0

Initial release of align-by-regex.

  • Contact us
  • Jobs
  • Privacy
  • Terms of use
  • Trademarks
© 2023 Microsoft