Small bug: formatting style 'collapse parenthesis' toggle influences indenting

HannekeHanneke Posts: 8 New member
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: 

"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. 


Tagged:

Answers


  • Thanks for reaching out to us regarding this, my apology for the delay in responding to you!

    I'm just working to replicate what you're seeing at this end, would it be possible for you to provide a copy of your active style settings to help me with this?

    Kind regards

    Dan Jary | Redgate Software
    Have you visited our Help Center?
Sign In or Register to comment.