atom-alignment
atom-alignment copied to clipboard
Multi Match Alignment
Atom: 1.0.7 atom-alignment: 0.12.1
Strings that contain alignment characters should not be changed by the plugin.
Example:
var foo = {
bar: '1 :abc',
bazzzzzz : '2: def'
};
Expected:
var foo = {
bar : '1 :abc',
bazzzzzz : '2: def'
};
Actual:
var foo = {
bar : '1 :abc',
bazzzzzz : '2 : def'
};
This also happens with JavaScript comparison operators:
Example:
var foo, barrrrrrr;
foo = typeof foo !== 'undefined' ? foo : 250;
barrrrrrr = typeof barrrrrrr !== 'undefined' ? barrrrrrr : 50;
Expected:
var foo, barrrrrrr;
foo = typeof foo !== 'undefined' ? foo : 250;
barrrrrrr = typeof barrrrrrr !== 'undefined' ? barrrrrrr : 50;
Actual:
var foo, barrrrrrr;
foo = typeof foo ! = = 'undefined' ? foo : 250;
barrrrrrr = typeof barrrrrrr ! = = 'undefined' ? barrrrrrr : 50;