Skip to content

Sort results in "Go to file" by how close they are to the working file (usability) #5806

Closed
@janmarek

Description

@janmarek

Sometimes I have files with the same name in different folders. When I work on something and want to open a file I prefer the file in the same folder to appear first in the list. Now it's sorted (probably) alphabetically.

When working on file foo/something.js and searching for "lorem", the list in Go to file should look like:

  • foo/lorem.js
  • bar/lorem.js

When working on file bar/something.js and searching for "lorem" it should be the other way round:

  • bar/lorem.js
  • foo/lorem.js

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature-requestRequest for new features or functionalityquick-pickQuick-pick widget issuessearchSearch widget and operation issues

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions