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

Prevent double activation when multiple documents are opened #3070

Conversation

vinistock
Copy link
Member

@vinistock vinistock commented Jan 15, 2025

Motivation

When we started preventing double activation on lazy activations #2693, I forgot to do the same for when the user starts the editor with multiple documents opened.

Implementation

We need to remember that we're already activating the workspace, so that we don't accidentally launch multiple duplicates for the same folder.

Copy link
Member Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@vinistock vinistock added vscode This pull request should be included in the VS Code extension's release notes bugfix This PR will fix an existing bug labels Jan 15, 2025 — with Graphite App
@vinistock vinistock requested review from andyw8 and st0012 January 15, 2025 20:38
@vinistock vinistock marked this pull request as ready for review January 15, 2025 20:40
@vinistock vinistock requested a review from a team as a code owner January 15, 2025 20:40
@vinistock vinistock merged commit f0d7f6c into main Jan 16, 2025
44 checks passed
Copy link
Member Author

Merge activity

  • Jan 16, 10:07 AM EST: A user merged this pull request with Graphite.

@vinistock vinistock deleted the 01-15-prevent_double_activation_when_multiple_documents_are_opened branch January 16, 2025 15:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix This PR will fix an existing bug vscode This pull request should be included in the VS Code extension's release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants