How to reset formatting options to IDE defaults?

Answered

Hi

I have opened a CMake project from Windows in the newest CLion on my Linux machine and I noticed CLion uses a whole different formatting layout now.

Braces are put on newlines and indication seems different too. I like to use the IDE's default formatting settings again. How do I do this without manually changing every possible option there is? Thanks in advance!

 

With kind regards,

Ruben

0
1 comment

Hello!

Could you please check if CLion Nova is enabled or disabled in your CLion installations (File | Settings | Advanced Settings | CLion | Use the ReSharper C++ language engine (CLion Nova))?

CLion Nova has different code style settings. So, if CLion Nova is enabled in one installation and disabled in another, that will explain the differences in code formatting.

As for restoring the default settings, there should be an option to do that:

0

Please sign in to leave a comment.