项目作者: adrianlee44

项目描述 :
Easily align multi-line with support for different operators and custom configurations
高级语言: JavaScript
项目地址: git://github.com/adrianlee44/atom-aligner.git
创建时间: 2014-03-06T23:01:09Z
项目社区:https://github.com/adrianlee44/atom-aligner

开源协议:MIT License

下载


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:

User can either align like this,

  1. let random = {
  2. troll: 'internet',
  3. foo: 'bar',
  4. bar: 'beer',
  5. };

or this,

  1. let random = {
  2. troll: 'internet',
  3. foo : 'bar',
  4. bar : 'beer',
  5. };

For more information, visit wiki

Supported character/operator

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

Changelog

Check changelog for more information