PoorMansTSqlFormatter
PoorMansTSqlFormatter copied to clipboard
Ability to remove comments using standard formatter
Joe Wezensky asks:
Is it possible to have the ‘remove comments’ feature applicable to the formatted output? Right now it only seems to apply when you are obfuscating the SQL.
The only workaround for this, atm, is to first obfuscate with comment-removal, and then rerun the result through the standard formatter.
It's a reasonable enhancement request, however!
(PLEASE NOTE: the obfuscation is only safe (without guarantees of course) for SQL Server / T-SQL! Other dialects are far more at risk of getting their SQL mangled)