sourcegraph / sourcegraph-public-snapshot

Code AI platform with Code Search & Cody
https://sourcegraph.com
Other
10.1k stars 1.27k forks source link

Fuzzy finder: default ordering should list recently opened files at the top #22212

Open olafurpg opened 3 years ago

olafurpg commented 3 years ago

Currently, the default ordering of the fuzzy finder when there is no query is to list all the files in the original order (not sorted). It would be nice if the default order displayed recently opened files at the top.

Originally suggested by @tsenart in https://github.com/sourcegraph/sourcegraph/issues/21201#issuecomment-863051357

Olaf: can you give a concrete example that compares the current ordering with frecency ordering? Tomas: I'm talking about the original ordering, before the user inputs anything at all. It's a nice way to quickly jump to recent files when you don't necessarily remember the name. It's definitely a nice to have, not a must.

/cc @felixfbecker

github-actions[bot] commented 2 years ago

Heads up @macraig - the "team/code-intelligence" label was applied to this issue.