clion sometimes can not highlight the codes Follow Completed Redblueblur2009 Created December 20, 2019 06:02 In the latest version 2019.3.2 , it often can not highlight and format the codes ,see the image.
then I have to restart the clion and it work again.
Maybe the clangd crash happens. Please send the idea.log file (Help | Show Log in ...) to clion-support at jetbrains.com when the issue occurs again. Note that logs might contain private user's information (like file paths and names).
you are right ,clang crashed.
I upload the idea20191227.log to track and hope it helps.
Where have you uploaded idea20191227.log?
@Anna Falevskaya it is https://uploads.services.jetbrains.com/
Please create a preprocessed version of the problematic source file and send it to clion-support at jetbrains.com.
Figure out the exact compiler command used to compile your file:
File | Settings | Build, Execution, Deployment | CMake | Build options;
/path/to/c++ <more args> -c /path/to/your_file.cpp -o /some/other/path/your_file.o <more args>.
Take the command from 1 and do the following:
-E -Pto the end of the command;
I used win7 and vs 2017 gcc.
I add the VERBOSE=1 to cmake build option and change file ,rebuild it.but I don't find any command like
/path/to/c++ <more args> -c /path/to/your_file.cpp -o /some/other/path/your_file.o <more args>. from the messages.
I just test it on ubuntu1804 and yes , it is there,but it happen on win7 and vs 2017 gcc
what else can I do?
The necessary command should look like this:
Please double check that you're following the instruction.