-
Notifications
You must be signed in to change notification settings - Fork 37.6k
Description
Does this issue occur when all extensions are disabled?: Yes
- VS Code Version: 1.66.0
- OS Version: Windows_NT x64 10.0.19043
Steps to Reproduce:
- Create 3 folders: test1, test2, test3
- Open workspace test1
- Open workspace test2
- Open workspace test3
- File -> Open Recent -> More...
- Observe the results are order by recency: test3, test2, test1
- Type "test"
- Notice the results are no longer ordered by recency: test1, test2 test3. I would expect the results to be ordered test3, test2, test1 even after filtering with "test".
The openRecent command results are sorted by recency until filtered. I am not sure how it sorts then but recency does not seem to be a factor in the score. This seems to me a bug given "recent" is in the command name but recency is not considered in the sorting.
Further, not including recency in the sort score makes it difficult to find results that are used often over those used infrequently but with a similar name. I frequently have to scroll through many results of files and folders I opened years ago to find the file I opened days ago because they happen to contain the same name.
A similar issue with quickOpen (#35610) was solved by adding the "search.quickOpen.history.filterSortOrder": "recency" setting.