Format SQL doesn't keep tabs
jodoveepn
Posts: 2
The SQL Prompt options do not list a Format option for keeping tabs instead of replacing them with spaces. So when I format a SQL script (SQL Prompt 5 > Format SQL), all tab characters are replaced with spaces.
It seems that SQL Prompt 5 does such an excellent job of formatting the code that it may make unnecessary a feature of tab non-replacement. But I'm an anal developer and like my tab characters.
I apologize if this was covered in a previous post, or if I missed it completely in the set of available options.
It seems that SQL Prompt 5 does such an excellent job of formatting the code that it may make unnecessary a feature of tab non-replacement. But I'm an anal developer and like my tab characters.
I apologize if this was covered in a previous post, or if I missed it completely in the set of available options.
Comments
Unfortunately, for the time being I'm afraid there's no way to retain tab characters short of running a search and replace after selecting 'Format SQL'. I'm sorry for any inconvenience this might cause.
Red Gate Technical Support Engineer
Then, from the main SQL Prompt 5 menu, click on 'Experimental Features...', and enable the 'Tabs Instead of Spaces' feature.
Hope that helps!
Redgate Software