Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File list order not correct in go to file #34210

Closed
yogeshkhatri1989 opened this issue Sep 12, 2017 · 0 comments
Closed

File list order not correct in go to file #34210

yogeshkhatri1989 opened this issue Sep 12, 2017 · 0 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug quick-pick Quick-pick widget issues verified Verification succeeded
Milestone

Comments

@yogeshkhatri1989
Copy link

  • VSCode Version: Code - Insiders 1.17.0-insider (128a4e3, 2017-09-12T05:10:59.101Z)
  • OS Version: Darwin x64 16.7.0

Steps to Reproduce:

  1. Create folder structure something like this
    image
  • Command to quickly create the above files & folders
    mkdir -p node_modules1/bundle/lib/model/modules/ot1 && touch node_modules1/bundle/lib/model/modules/ot1/index.js
    mkdir -p node_modules1/bundle/lib/model/modules/un1 && touch node_modules1/bundle/lib/model/modules/un1/index.js
    mkdir -p node_modules1/bundle/lib/model/modules/modu1 && touch node_modules1/bundle/lib/model/modules/modu1/index.js
    mkdir -p node_modules1/bundle/lib/model/modules/oddl1 && touch node_modules1/bundle/lib/model/modules/oddl1/index.js
  1. Now go to Go to File... (⌘T)
  2. Type modu1/index.js - this is the result
    image
  • expected file is at 2nd
  1. Type un1/index.js - this is the result
    image
  • expected file is at last

Here result eventually shows up but i expected it as the first result because all the results have common prefix and last result is the best match. This is just the sample but its a big problem where you have large number of files with same name under long path (like me). Sometimes the result is at 30-40 which makes me unable to use vscode for my case.

This thing works absolutely fine in sublime text so you can see the expected result and compare.

Reproduces without extensions: Yes

@vscodebot vscodebot bot added the insiders label Sep 12, 2017
@bpasero bpasero added the quick-pick Quick-pick widget issues label Sep 13, 2017
@bpasero bpasero added this to the Backlog milestone Sep 13, 2017
@chrmarti chrmarti removed the insiders label Sep 27, 2017
@bpasero bpasero added the bug Issue identified by VS Code Team member as probable bug label Oct 3, 2017
@bpasero bpasero modified the milestones: Backlog, October 2017 Oct 3, 2017
@bpasero bpasero closed this as completed Oct 3, 2017
@mjbvz mjbvz added the verified Verification succeeded label Nov 1, 2017
@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 17, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug quick-pick Quick-pick widget issues verified Verification succeeded
Projects
None yet
Development

No branches or pull requests

4 participants