CLion file search has inconsistent ordering
When searching for Files in CLion the order of the results are inconsistent.
Example:
A test project has 3 files named “test_file_001.h”, “test_file_002.h” and “test_file_here.h”.
Searching for “test_fi” makes “test_file_001.h” the first among the results but typing “test_fil” makes “test_file_here.h” the first.
With larger projects with many files having similar prefixes this makes for a bad guessing game on how the result will look like.
I see no logic behind the order and it makes it hard to select the correct result quickly because as you are typing you see the first result as the one you are looking for and hit enter to select it but because many of us are fast typers the next letter is already inputted and the result list becomes scambled.
How do I turn off this “feature”?

Please sign in to leave a comment.
Please try to disable the "Settings | Advanced Settings | Enable semantic search in the Files tab" option to see if it helps.
It seems this inconsistent order issue was caused by that option from my testing.
I have also created a related bug report here: https://youtrack.jetbrains.com/issue/IJPL-219382
Hi, Lejia Chen,
I can confirm that disabling the option solves this issue.
Thank you for investigating!