Describe the Feature
When lines wrap within functions, the current formatter starts a newline following the opening parentheses, then left aligns the items within the parentheses to the first character of the function name.
SELECT A,
B,
COALESCE(THIS_IS_A_LONG_COLUMN_NAME, THIS_IS_AN_EVEN_LONGER_COLUMN_NAME) AS LONG_COLUMN_ALIAS,
C
FROM TABLE
WHERE ABC = 'example'
Becomes:
SELECT A,
B,
COALESCE(
THIS_IS_A_LONG_COLUMN_NAME,
THIS_IS_AN_EVEN_LONGER_COLUMN_NAME
) AS LONG_COLUMN_ALIAS,
C
FROM TABLE
WHERE ABC = 'example'
It would be better if the function indented slightly on the newline to allow for the select list items to be visualised more easily.:
SELECT A,
B,
COALESCE(
THIS_IS_A_LONG_COLUMN_NAME,
THIS_IS_AN_EVEN_LONGER_COLUMN_NAME
) AS LONG_COLUMN_ALIAS,
C
FROM TABLE
WHERE ABC = 'example'
Describe the Feature When lines wrap within functions, the current formatter starts a newline following the opening parentheses, then left aligns the items within the parentheses to the first character of the function name.
Becomes:
It would be better if the function indented slightly on the newline to allow for the select list items to be visualised more easily.: