Skip to content
| Marketplace
Sign in
Visual Studio Code>Formatters>code-weaver-kitNew to Visual Studio Code? Get it now.
code-weaver-kit

code-weaver-kit

ademarsj

|
4 installs
| (0) | Free
Organize and align code selections in VS Code
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Code Weaver Kit

VS Code extension to help organize and align code, commands and text.

Disclaimer: This tool is based on my personal needs for indenting SQL DML's and Pascal code.

Commands

Organize in Columns

Redistributes selected lines into a fixed number of items per line.

Input:

example1,
example2,
example3,
example4,
example5,

Output (2 items per line):

example1, example2,
example3, example4,
example5,

Align by Separator

Aligns selected lines by a common separator character. Supports multiple separators per line and two alignment directions.

Input:

firstName = "Alice";
lastName = "Smith";
age = 30;
city = "London";

Left (default) — content padded to the right, separator pushed out:

firstName= "Alice";
lastName = "Smith";
age      = 30;
city     = "London";

Right — content pushed to the right, separator flush after it:

firstName= "Alice";
 lastName= "Smith";
      age= 30;
     city= "London";

When lines contain multiple occurrences of the separator, each column is aligned independently.

Input:

id, name, email,
userId, firstName, address,
accountId, lastName, phone,

Left aligned by ,:

id       , name     , email  ,
userId   , firstName, address,
accountId, lastName , phone  ,

Right aligned by ,:

       id,      name,   email,
   userId, firstName, address,
accountId,  lastName,   phone,

Remove Blank Lines

Removes all blank lines from the selection, ignoring lines that contain only spaces or tabs.

Input:

name = "Alice";
age = 30;

city = "London";

email = "alice@example.com";

Output:

name = "Alice";
age = 30;
city = "London";
email = "alice@example.com";

Changelog

0.0.3

  • New Icon
  • Remove Blank Lines: new command that removes blank lines from the selection (lines with only spaces or tabs are also removed).
  • Align by Separator: added left/right alignment direction parameter.
  • Align by Separator: now aligns all occurrences of the separator per line (multi-column support).

License

MIT

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