Parenthetical Indentation within a CASE expression
a.higgins
Posts: 90 Bronze 2
Most of the new indentation options are awesome, but I've seen some strange behavior with parentheses. In the query below, shouldn't the 'IN' list be indented from the CASE?
Currently running Version 7.3.0.598
SELECT Field = CASE WHEN 'LongStringToEnsureThisDoesNotStayOnOneLine' IN ( 'SomeOtherRandomLongString' ,'YetOtherRandomLongString' ) THEN 'WhyAreTheseParenthesesWrong?' ELSE 'RedGateIsStillAwesomeThough' END
Currently running Version 7.3.0.598
Comments
Thanks for the script! We're looking into this now and should hopefully have a fix in the next beta build.
Thanks,
Aaron.