lmcarreiro/smart-column-indenter

Add setting for ignoring specific characters or N-1 columns

Opened this issue · 2 comments

It would be helpful for me if there were an option to ignore ; semi-colon characters, or ignore the last matched character of a line.

let foo = 'foo';
let longerName = 'some string';
let bar = foo;

Current behavior:

let foo        = 'foo'        ;
let longerName = 'some string';
let bar        = foo          ;

Wanted behavior:

let foo        = 'foo';
let longerName = 'some string';
let bar        = foo;

Sorry for the delay. It would be great to have a setting to ignore commas and semi-colons at the end of each line.
I don't have much time to work on this right now, I'll try to do this as soon as I can, but I'm really busy, it may take a few months. Feel free to send a pull request if you want. Thanks.

I think this would be a great option.
Same as an option to ignore ':' within a line!