3 comments

Hello!

It seems that you have CLion Nova enabled. It has different code style settings.

If you want, you can disable CLion Nova by disabling the Use the ReSharper C++ language engine (CLion Nova) checkbox in File | Settings | Advanced Settings.

0

Hi, thank you.

So there is no way to change the indentation without disabling CLion Nova?

My class and struct members are indented by only a single space even though I have “indent size” and “tab width” both set to 4 (which is the default). 

0
  1. What option is selected in File | Settings | Editor | Code Style | C++ > General?
  2. Does the issue happen in all files or in some particular files, for example, in header files?
  3. Is there the "This file doesn't belong to any project target" warning at the top of the files where you observe the issue?
  4. Do you see OFF and the corresponding "Analysis is not supported" notification in the upper right corner of these files (see the screenshot in CPP-37734)?
0

Please sign in to leave a comment.