-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Description
Hi!
Similarly to the issue Quickly show current file on other branch #646 I'm used to work in vim using the fugitive plugin to, amongst other things, easily open up a specific file in a specific branch using :Gedit {ref}:{filePath}. I'm guessing that this command is basically a proxy of the git show {ref}:{filePath} git command. The closest I've come with Gitlens is to use the gitlens.openFileRevisionFrom/gitlens.openRevisionFile commands, but they only seem to work with the active file and therefore appear unusable when one wants to open a file that doesn't currently exist in the working directory.
Ideally there would be a command that first lets the user pick a branch/ref and then show a quickpick window with all files in the repository for that given ref (to allow for autocompletion/fuzzy matching). Upon selection it would then open the corresponding version of that file.
If there's interest for this from the maintainers I'd be happy to look into implementing a proof of concept.
Thanks in advance!