Formatting: recognize tab and multiple spaces as whitespace for custom alignment (original) (raw)

roslyn formatter will format
int i=0;
into
int i = 0;

Something like this

But then I always use

int i = 0; long l = 0; //smart tab aligning

When format document it became

int i = 0; long l = 0;

So I wish that formatter about spacing will just see that tab, tabs, and spaces is also whitespace and ignore it if it is there, else will insert a space into it