Skip to content

Sort order for file quickopen should prefer shorter paths #17443

@spion

Description

@spion

I love VSCode, but the sort order for quickopen doesn't work all that well sometimes...

For example, shorter files within longer paths should not trump over shorter paths with a longer filename, especially if the search string includes a path separator

  • VSCode Version: 1.8
  • OS Version: OS X

Steps to Reproduce:

  1. Create a file named config/test.js
  2. Create a subfolder named config/test
  3. Create the files config/test/t1.js and config/test/t2.js
  4. Use quick open and type co/te

Expected first result: config/test.js
Actual first result: confing/test/t1.js. config/test.js comes only after t2

Metadata

Metadata

Assignees

Labels

searchSearch widget and operation issues

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions