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

Show multi-root workspace warning as progress instead #2879

Merged

Conversation

vinistock
Copy link
Member

@vinistock vinistock commented Nov 19, 2024

Motivation

We noticed that the warning for multi-root workspaces is sometimes ignored by users. The problem is that if you don't click anything, the LSP will never start because the promise is never resolved.

Let's show the warning under a timer and auto-dismiss so that the behaviour is less confusing.

Implementation

I put the same warning inside a progress notification that auto-dismisses under 5 seconds.

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 other Changes that aren't bugfixes, enhancements or breaking changes labels Nov 19, 2024 — with Graphite App
@vinistock vinistock marked this pull request as ready for review November 19, 2024 18:46
@vinistock vinistock requested a review from a team as a code owner November 19, 2024 18:46
@vinistock vinistock merged commit 74d2ab0 into main Nov 19, 2024
38 checks passed
@vinistock vinistock deleted the 11-19-show_multi-root_workspace_warning_as_progress_instead branch November 19, 2024 21:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
other Changes that aren't bugfixes, enhancements or breaking changes 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