clion sometimes can not highlight the codes
已完成
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.
Hello!
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).
@Anna Falevskaya
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:
VERBOSE=1
toFile | 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:
-o /some/other/path/your_file.o
with-o preprocessed.txt
;-E -P
to the end of the command;@Anna Falevskaya
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.