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
Merged

Focus correct SCM repo when restoring editors #79566

merged 1 commit into from Oct 25, 2019

Conversation

callummr
Copy link
Contributor

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 General SCM compound issues label Aug 30, 2019
@joaomoreno joaomoreno added this to the October 2019 milestone Oct 25, 2019
@joaomoreno
Copy link
Member

Thanks! 🍻

@joaomoreno joaomoreno merged commit cc76772 into microsoft:master Oct 25, 2019
@github-actions github-actions bot locked and limited conversation to collaborators Mar 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
scm General SCM compound issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Git status bar fails to show branch of current file, on startup
2 participants