codealignment
codealignment copied to clipboard
Have an option to align only by tabs
Currently when you "Use IDE tab settings" with tabs on, code alignment will align exactly to the furthest instance. It does this by inserting tabs then spaces. Some people would like it to just insert tabs and move the furthest along a bit to match that.
This issue is to discuss the possibility of introducing an option - not a guarantee that it will be done. And to see if anyone would like to volunteer to implement it.
Before contributing please read https://github.com/cpmcgrath/codealignment/wiki/Tabs-&-Alignment and consider if you really want to use tabs at all.
Just some notes on the scope of this. Personally, I think if it's to be done then not only must it insert tabs, but it must remove the existing spaces.
I think the easiest implementation would be to not change the alignment logic at all but do a "Tabify" afterwards.
Again, please read https://github.com/cpmcgrath/codealignment/wiki/Tabs-&-Alignment