alignment
Quickly align selections with a single shortcut
Blake Embrey 11,641 36 1.1.5 MIT GitHub

Atom Alignment

Build status

Quick alignment of multi-line selections and multiple selections for Atom.

Installation

apm install alignment

Usage

Make a selection of the lines to you want to align and press cmd-ctrl-alt-]/cmd-ctrl-a (or ctrl-alt-]/ctrl-alt-a on Windows and Linux). It will transform something like:

var test = 'string';
var another = 10;
var small = 10 * 10;

Into:

var test    = 'string';
var another = 10;
var small   = 10 * 10;

License

MIT