Comments
Sort by recent activity
Looks good, thank you! / comments
Looks good, thank you!
Looks good, thank you! / comments
Looks good, thank you!
The newest release takes care of this, thanks! / comments
The newest release takes care of this, thanks!
Confirmed, the newest release addresses this issue. / comments
Confirmed, the newest release addresses this issue.
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
)
/ comments
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
...
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
/ comments
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
(
'LongStringToEnsureThisDoe...
Looks beautiful, thanks very much! / comments
Looks beautiful, thanks very much!
Forgot to mention, this is on 7.3.0.564 / comments
Forgot to mention, this is on 7.3.0.564
For fun, I just tried the 'DISTINCT' keyword and it works fine:
SELECT DISTINCT
1 AS x -- yes yes yes
,2 AS y
,3 AS z
/ comments
For fun, I just tried the 'DISTINCT' keyword and it works fine:
SELECT DISTINCT
1 AS x -- yes yes yes
,2 AS y
,3 AS z
Aaron, the latest fix seems to have addressed this problem. Thanks very much! / comments
Aaron, the latest fix seems to have addressed this problem. Thanks very much!