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

Limit opening documents to certain scenarios. #3308

Merged
merged 1 commit into from
Sep 2, 2022

Conversation

philliphoff
Copy link
Contributor

Only open the documents if the folder is already open or the new folder is added to the existing workspace. In the other scenarios (e.g. open in current or new window), VS Code will reload the current window or open a new window, making it inappropriate to open the documents in the current window (i.e. before the reload).

Resolves #3307

@philliphoff philliphoff requested a review from a team as a code owner September 2, 2022 17:57
@philliphoff philliphoff merged commit b843961 into main Sep 2, 2022
@philliphoff philliphoff deleted the philliphoff-new-window branch September 2, 2022 19:09
@microsoft microsoft locked and limited conversation to collaborators Oct 18, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Do not open new documents if opened in new window
2 participants