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

Quick open changes order for matching elements #10690

Closed
vexxra opened this issue Aug 19, 2016 · 1 comment
Closed

Quick open changes order for matching elements #10690

vexxra opened this issue Aug 19, 2016 · 1 comment
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug quick-pick Quick-pick widget issues verified Verification succeeded
Milestone

Comments

@vexxra
Copy link

vexxra commented Aug 19, 2016

  • VSCode Version: 1.4.0
  • OS Version: Windows 7 x64

This doesn't happen with all name-combinations, so I assume it depends on the algorithm (I could not reproduce this issue with aaa.ts and b.aaa.ts)

Steps to Reproduce:

  1. Open a workspace containing the two files cell.editor.ts and editor.ts
  2. Press CTRL+P and start typing: 'editorts' (without quotes and without a period)

Result:
While typing, editor.ts is the first result as long as you didn't type further than 'editor'. As soon as you add the 't' from the file ending, cell.editor.ts becomes the first entry in the list followed by editor.ts. Clicking on editor.ts while still typing 'editor' is not a workaround as my real folder contains more files with that naming schema.

Typing the full name, editor.ts (with the period), matches the correct file.

Expected result:
An entry should not change position when still completing its name without errors.

@bpasero
Copy link
Member

bpasero commented Aug 20, 2016

This only happens when the files are in the "recently opened" category where we use a different scoring and sorting algorithm.

@bpasero bpasero added the bug Issue identified by VS Code Team member as probable bug label Aug 20, 2016
@bpasero bpasero added this to the Backlog milestone Aug 20, 2016
@bpasero bpasero self-assigned this Aug 20, 2016
@bpasero bpasero added workbench quick-pick Quick-pick widget issues labels Apr 7, 2017
@bpasero bpasero modified the milestones: Backlog, October 2017 Oct 4, 2017
@bpasero bpasero closed this as completed Oct 4, 2017
@roblourens roblourens added the verified Verification succeeded label Nov 1, 2017
@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 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

3 participants