How can we help you today? How can we help you today?

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

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. 


Hanneke
0

Comments

1 comment

  • Dan_J
    Hi @Hanneke

    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?

    Dan_J
    0

Add comment

Please sign in to leave a comment.