You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 6, 2021. It is now read-only.
Repository navigation
This repository was archived by the owner on Sep 6, 2021. It is now read-only.
[FindInFiles] Search results are not sorted. #4933
Is designed like that. The idea is that you can see the results from the current file first. It was requested long time ago.
I made the sort work in the same way as it is in the file tree when is completely open. As on the file tree you first see the children directories and then the files. I thought it made more sense like that. But not sure how long it would take to change it.
I know. But we are sorting file paths here and the way it is done in mac wouldn't make much sense in this content. Maybe the way zaggino mentioned migth make more sense. I will check later if it is easy to change and how it looks.
Activity
TomMalbran commentedon Aug 25, 2013
I have a fix for this in #3151. I will get to make a new PR with a fix for this soon, probably after #4729 is merged.
zaggino commentedon Aug 25, 2013
Great 👍
njx commentedon Sep 9, 2013
Opening to @TomMalbran since he has a fix - thanks!
TomMalbran commentedon Mar 7, 2014
FBNC. @zaggino Want to test it in the latest master and close it?
zaggino commentedon Mar 7, 2014
Two minor things @TomMalbran , when searching for
define(in the brackets repo.But I'm not sure I'd call 1) an issue because it's maybe on purpose and if 2) would take more than 5 mins. to fix I wouldn't care about that either.
TomMalbran commentedon Mar 7, 2014
Is designed like that. The idea is that you can see the results from the current file first. It was requested long time ago.
I made the sort work in the same way as it is in the file tree when is completely open. As on the file tree you first see the children directories and then the files. I thought it made more sense like that. But not sure how long it would take to change it.
TomMalbran commentedon Mar 7, 2014
If users don't like how 1 works. That is easy to remove.
redmunds commentedon Mar 7, 2014
@TomMalbran Note that file tree sorting is different on Win/Linux than it is on Mac.
TomMalbran commentedon Mar 7, 2014
I know. But we are sorting file paths here and the way it is done in mac wouldn't make much sense in this content. Maybe the way zaggino mentioned migth make more sense. I will check later if it is easy to change and how it looks.
zaggino commentedon Mar 7, 2014
As I said, I think it's fine now, just wanted to point out two things I noticed. We can close if nobody else objects.
TomMalbran commentedon Mar 15, 2014
Well, let me know if you want it fixed, or if not, you can close this issue :)