smart-column-indenter icon indicating copy to clipboard operation
smart-column-indenter copied to clipboard

Add setting for ignoring specific characters or N-1 columns

Open presentday-presenttime opened this issue 6 years ago • 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;

presentday-presenttime avatar Sep 06 '18 20:09 presentday-presenttime

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.

lmcarreiro avatar Sep 11 '18 22:09 lmcarreiro

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

larshei avatar Mar 22 '20 14:03 larshei