• Packages
  • Themes
  • Documentation
  • Blog
  • Discuss
Sign in

aligner

Easily align multiple lines and blocks with support for different operators and custom configurations
  • #aligner
  • #alignment
  • #align
  • #cursor
  • #selection
adrianlee44
111,560
225
  • Repo
  • Bugs
  • Versions
  • License
Flag as spam or malicious

aligner package

CI

Easily align multiple lines and blocks with support for different operators and custom configurations

Mac: ctrl-cmd-/ Linux/Windows: ctrl-alt-/

aligner

Custom configuration

Package allows user to change the way characters are aligned.

  • Pad either left or right of character
  • If an extra whitespace should be added to the left and/or right of the character
  • Aligning trailing comments when aligning characters
Supported Languages

Install add-on packages to get support for the following languages:

  • Javascript (aligner-javascript)
  • Coffeescript (aligner-coffeescript)
  • Ruby (aligner-ruby)
  • CSS & LESS (aligner-css)
  • SASS & SCSS (aligner-scss)
  • PHP (aligner-php)
  • Python (aligner-python)
  • Stylus (aligner-stylus)
  • Lua (aligner-lua)
  • Go (aligner-golang)
  • For documentation to create aligner add-ons, check this page

User can either align like this,

let random = {
  troll: 'internet',
  foo: 'bar',
  bar: 'beer',
};

or this,

let random = {
  troll: 'internet',
  foo: 'bar',
  bar: 'beer',
};

For more information, visit wiki

Supported character/operator

For supported characters/operators, see individual add-on packages.

Changelog

Check changelog for more information

I think this package is bad news.

Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.

  • Terms of Use
  • Privacy
  • Code of Conduct
  • Releases
  • FAQ
  • Contact
with by