Comments
3 comments
-
Hi a.higgins,
Thanks for the script!We're looking into this now and should hopefully have a fix in the next beta build.
Thanks,
Aaron. -
This solves the IN () indentation, but there still seems to be some issues with other types of parenthetical indentations: for example
SELECT Field = CASE WHEN ( 'LongStringToEnsureThisDoesNotStayOnOneLine' LIKE '%xya%' OR 'SomeOtherRandomLongString' LIKE '%qwe%' OR 'YetOtherRandomLongString' LIKE '%aslpha%' ) AND 'WhyAreTheseParenthesesWrong?' IS NOT NULL THEN 'Help' ELSE 'All Fixed Now' END
-
Another example, though this one isn't within a CASE:
SELECT SimpleField = 'xyz' ,AnotherField = ( -- I'd expect this to be indented to align with the 'xyz' string out past the equals sign SELECT TOP 1 t.TABLE_NAME FROM INFORMATION_SCHEMA.TABLES t )
Add comment
Please sign in to leave a comment.
Currently running Version 7.3.0.598