Code formatting issue

Hi, whenever I declare a struct in C++ there seems to be a space added in front of my code. I'm using Clion 2023.2, and I did not run into this problem when using 2023.1 version. Is there anything I can do to stop this from happening? Thank you!

It looks like this:

1
3 comments

Hello!

Do you mean the indent before the cursor?

0

Yes. 

This is what it should look like ideally (I got this picture by deleting the extra spaces before my cursor and the bracket)

0

I can't reproduce the issue in CLion 2023.2.1 in a default "Hello, World!" project (`File | New Project` > `C++ Executable` > `Create`) :

Does the issue happen in a default "Hello, World!" project on your side? If it does, could you please record a screencast illustrating the issue and share it?

0

Please sign in to leave a comment.