vscode-pull-request-github
vscode-pull-request-github copied to clipboard
Follow open files in the PR changes view
Requested by @digitarald:
When a file that's in the currently checked out PR is opened (even when it's not a diff) we should highlight the file in the "Changes" view if it's open.
This would be helpful for maintaining context when jumping between files via "go to definition".
We already do this.
@alexr00 Are you sure this already works? I'm on the pre-release version (v0.79.2023121409) and files are still only highlighted in the changes view if I open them by directly clicking in that view.
Here's what I see:
Can you share a gif of what you're seeing?
Ok looks like it works when I re-enable explorer.autoReveal. I believe I disabled that setting because I didn't like the explorer jumping around when I switched files, but I'll try out re-enabling it and see if it's still a problem. I wonder if it would make sense to have a separate version of that setting for this extension.
So I've tried re-enabling explorer.autoReveal and it's honestly pretty annoying. Would love to have a separate option for this extension.