Continuing the discussion from Change tabs to spaces:
Because people were asking for it and because I thought it would be simple, I created a package that converts leading tabs to spaces in an open file:
It is bare bones at the moment, just using your
editor.tabLength configuration setting to decide how many spaces to replace a tab character with. I did my best to just do a simple conversion, but please file a bug if there is an edge case I didn’t think of.
- Convert spaces to tabs (if you really wanna, I guess)
- Make menu titles and commands easier to read and find — probably use “untabify” and “tabify”
- Convert only within a selection or selections, rather than a whole file