aligner
Easily align multiple lines and blocks with support for different operators and custom configurations
This package consumes the following services:
aligner package
Easily align multiple lines and blocks with support for different operators and custom configurations
Mac: ctrl-cmd-/
Linux/Windows: ctrl-alt-/
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