Closed liurui39660 closed 4 years ago
Thanks for letting me know! Problem happened because of large bracket comment in the beginning of FindCUDA.cmake file (by the way, special THANKS for giving me exact file you had problem with). That create almost infinite loop while parsing those bracket comment. Will try to fix it within nearest days. Thanks again!
fixed at 201.1.2
What happened
I have some
.cmake
files downloaded from CMake's GitHub repo, likeFindCUDA.cmake
. When I open these files with Plus enabled, the IDE keeps loading the file; while when disabled, those files can be opened immediately.Whether or not enabling the simple highlighter does not have this issue.
How to reproduce
.cmake
file, no matter usingcurl
or copy & paste the content.Expected behavior
The file is opened immediately.
Actual behavior
The file keeps loading.
Note
If you create an empty
.cmake
file, that can be opened. But after pasting the content into it, it no longer can be opened.Though files can't be opened, it seems they are correctly indexed by the plugin.
System info
CLion 2019.3.4 Build #CL-193.6494.38, built on February 11, 2020 Runtime version: 11.0.5+10-b520.38 amd64 VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o Windows 10 Pro, version 2004, build 19041.84 Plus version: 201.1.1 Simple highlighter version: 201.1.1