Small bug: formatting style 'collapse parenthesis' toggle influences indenting
Hanneke
Posts: 8 New member
in SQL Prompt
I was setting up my own formatting profile when I noticed something odd.
In the Parentheses menu I enabled the 'collapse parenthses if contents are shorter then N characters option, and I noticed that a part of my code (a longer concat call which spanned a few lines) got de-indented.
These are my current parenthesis settings:
In the Parentheses menu I enabled the 'collapse parenthses if contents are shorter then N characters option, and I noticed that a part of my code (a longer concat call which spanned a few lines) got de-indented.
These are my current parenthesis settings:
"parenthesisStyle": "expandedToStatement",
"indentParenthesesContents": true,
"collapseShortParenthesisContents": true,
"collapseParenthesesShorterThan": 55
I added 2 pictures to show with and without settings. Look at the items in the CONCAT call.
I added 2 pictures to show with and without settings. Look at the items in the CONCAT call.
Tagged:
Answers
Dan Jary | Redgate Software
Have you visited our Help Center?