untabify
When saving/opening file automatically untabify it.
(select all then edit|advanced|untabify selected lines)
Some how, some way, despite telling everyone to set convert tabs to spaces we constantly get tabs in our SQL code. It would be really nice to just have it automatically convert to spaces so I can save a few clicks.
5
votes

-
Lorne McKendrick commented
SSMS prior to v21 used to have an "Untabify" feature built in. This is now gone in v21. Would be great if SQL Prompt could fill that gap!
-
Jeff Humphreys commented
Yes, I hate those tabs showing up. Cutting and pasting in code does bring in tabs sometimes, that might be unavoidable.