Find in Files keeps randomizing results
已回答
Every time I use “find in files” for the exact same word, the result order changes, it's very annoying and confusing, specially because we have files with the same name in 7 different folders.
Is there a way to keep the results ordered by PATH?
Heck, even “grep -r” gives a consistent result order even though it doesn't sorts the files.
请先登录再写评论。
As a workaround, please click the "Open in Find window" action in that dialog. It will show the result in alphabetical order.
You can also narrow results by preconfigured scopes and directories : https://www.jetbrains.com/help/idea/finding-and-replacing-text-in-project.html#limit_search
This is really not a viable solution. Please give it a default sort Order by file path, problem fixed.
For an “ULTIMATE” IDE solution I really expect more and it is completely weird, that there are not more complaints.
Hi, Matthias!
Thanks for your comment. We understand how frustrating this can be.
Let me step ahead here and just clarify a couple of points regarding the original report:
* In regards to using the Find in Files feature but always getting a different order result, this has been reported in IJPL-49931 (the same ticket mentioned by my colleague Abhishek. Here is how you can vote and follow up in;
* As a second point, I also wanted to let you know that I've created IJPL-192029 as a feature request to turn the Order by File Path as a default sort method. Here is how you can vote and follow the updates for that ticket.
Let us know if you have any questions on the way.