Reformat code does not work properly
Why CLion 'Reformat Code' keeps on format my code like following?
Why you put gtest header next line?
And, BTW, the original code(without Reformating) compliles perfectly without any warning or error.
Please sign in to leave a comment.
Hello!
On what build system is your project based?
Do you happen to have the "This file doesn't belong to any project target" warning message at the top of this file?
Anna Falevskaya
WSL.
And you know what? I can compile and run my code properly.
But Functions like 'Reformat Code' and 'File structure' all suddenly went wrong.
And Jumping does not work any more either
CMake works fine in CLion