Formatting Question C++

Answered

Hello,

I am trying to fix an issue where if I do the if macro it's fine it would like this: 

if (true)

{
}

but if I just type it myself which is what I always do it looks like this 

if(true)

{
}

while visual studio would correct this and add the space Rider never fixes that and I've looked everywhere in the formatting to try and fix it but nothing seems to help. Is this fixable? 

1 comment
Comment actions Permalink

Hi,

Unfortunately, auto-formatting on the closing brace is not yet supported. We have a feature request in YouTrack: https://youtrack.jetbrains.com/issue/RSCPP-18671. You can vote or follow the ticket to get a notification when it is implemented.

0

Please sign in to leave a comment.