Skip to content
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

Focus correct SCM repo when restoring editors #79566

Merged
merged 1 commit into from Oct 25, 2019

Conversation

@callummr
Copy link
Contributor

callummr commented Aug 21, 2019

When adding repositories during restore, we automatically focus the first added in the SCM status bar. This is incorrect when there are open editors from a different repository. Check this before focussing and give active editor priority, but still auto-focus new repository if no active editor exists.

Closes #67670.

When adding repositories during restore, we automatically focus
the first added in the SCM status bar. This is incorrect when
there are open editors from a different respository. Check this
before focussing and go by editor SCM first if present.

Closes #67670
@callummr callummr changed the title Focus correct SCM when restoring editors Focus correct SCM repo when restoring editors Aug 21, 2019
@joaomoreno joaomoreno added the scm label Aug 30, 2019
@joaomoreno joaomoreno added this to the October 2019 milestone Oct 25, 2019
@joaomoreno

This comment has been minimized.

Copy link
Member

joaomoreno commented Oct 25, 2019

Thanks! 🍻

@joaomoreno joaomoreno merged commit cc76772 into microsoft:master Oct 25, 2019
2 checks passed
2 checks passed
VS Code #20190821.31 succeeded
Details
license/cla All CLA requirements met.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.