-
Notifications
You must be signed in to change notification settings - Fork 30k
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
Recently opened files is just a bucket and not sorted by recency #31591
Comments
@jrieken if you now select the |
@jrieken I think I see what happens, you are starting to search and in that case the sorting order of the "recently opened" section is no longer by recency but using a similar matching and sorting as we have for the file results below. In this case it seems the shorter path is just winning over the longer one. One way of getting rid of the result is to trigger the "Remove From History" command and pick the file you want to remove. It will not help though if you ever open it again: |
For IntelliSense matching length is only penalised between the first and last matching character, not on the ratio of covered characters. That usually yields much better results |
I am now sorting by recency of items in this bucket if the score of the elements are identical instead of sorting by path length. |
I have a multi-root workspace with the vscode-sources and an extension (called 'virtual'). Both folders have
vscode.d.ts
and while I surely have opened both files at least once, I have openedvscode.d.ts
from the vscode-sources at least 1000-times more often (and more recent). Still, the file picker presents thevscode.d.ts
from the extension on top, always. It seems like I once made a mistake to open the wrong vscode.d.ts-file and I am still being punished for that.The text was updated successfully, but these errors were encountered: