Skip to content
This repository was archived by the owner on Sep 6, 2021. It is now read-only.
This repository was archived by the owner on Sep 6, 2021. It is now read-only.

[FindInFiles] Search results are not sorted. #4933

Closed

Description

@zaggino

image

Activity

  1. TomMalbran commented on Aug 25, 2013

    @TomMalbran
    Contributor

    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.

  2. zaggino commented on Aug 25, 2013

    @zaggino
    ContributorAuthor

    Great 👍

  3. njx commented on Sep 9, 2013

    @njx

    Opening to @TomMalbran since he has a fix - thanks!

  4. TomMalbran commented on Mar 7, 2014

    @TomMalbran
    Contributor

    FBNC. @zaggino Want to test it in the latest master and close it?

  5. zaggino commented on Mar 7, 2014

    @zaggino
    ContributorAuthor

    Two minor things @TomMalbran , when searching for define( in the brackets repo.

    1. First is currently opened file, then list continues as sorted.
      image
    2. Nested folders are before their parents.
      image

    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.

  6. TomMalbran commented on Mar 7, 2014

    @TomMalbran
    Contributor
    1. Is designed like that. The idea is that you can see the results from the current file first. It was requested long time ago.

    2. 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.

  7. TomMalbran commented on Mar 7, 2014

    @TomMalbran
    Contributor

    If users don't like how 1 works. That is easy to remove.

  8. redmunds commented on Mar 7, 2014

    @redmunds
    Contributor

    @TomMalbran Note that file tree sorting is different on Win/Linux than it is on Mac.

  9. TomMalbran commented on Mar 7, 2014

    @TomMalbran
    Contributor

    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.

  10. zaggino commented on Mar 7, 2014

    @zaggino
    ContributorAuthor

    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.

  11. TomMalbran commented on Mar 15, 2014

    @TomMalbran
    Contributor

    Well, let me know if you want it fixed, or if not, you can close this issue :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions