PoorMansTSqlFormatter icon indicating copy to clipboard operation
PoorMansTSqlFormatter copied to clipboard

"Reset Options" action on PoorSql.com

Open TaoK opened this issue 7 years ago • 1 comments

A user accidentally ended up in a weird/unintuitive situation on PoorSql.com, when they deleted the value in the "Max Width (chars)" setting. The JS engine interprets this as a target line width of "0", and wraps anything/everything it can.

TaoK avatar Sep 29 '17 09:09 TaoK

Another related improvement could be to change the interpretation of blank (and/or even 0 or other non-sensible values) to act like the default (999) or error out.

TaoK avatar Sep 29 '17 09:09 TaoK