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

Display warning when launching with no workspaces #2155

Merged
merged 1 commit into from
Jun 11, 2024

Conversation

vinistock
Copy link
Member

Motivation

Related to #1780

We currently don't support usage without any workspaces opened. This could be confusing, so we should warn the user and provide the option to open a workspace instead.

Implementation

Just started showing the warning before returning early. If the open folder command ends up getting executed, the VS Code window is reloaded and we enter activate again.

@vinistock vinistock added bugfix This PR will fix an existing bug vscode This pull request should be included in the VS Code extension's release notes labels Jun 10, 2024
@vinistock vinistock self-assigned this Jun 10, 2024
@vinistock vinistock requested a review from a team as a code owner June 10, 2024 20:28
@vinistock vinistock requested review from andyw8 and st0012 June 10, 2024 20:28
@vinistock vinistock mentioned this pull request Jun 10, 2024
1 task
vscode/src/extension.ts Outdated Show resolved Hide resolved
@vinistock vinistock force-pushed the vs/warn_about_no_workspaces branch from 1874bf2 to c99d212 Compare June 11, 2024 13:03
@vinistock vinistock enabled auto-merge (squash) June 11, 2024 13:03
@vinistock vinistock added blocked This issue can't move forward until a blocker is resolved and removed blocked This issue can't move forward until a blocker is resolved labels Jun 11, 2024
@vinistock vinistock merged commit b212f74 into main Jun 11, 2024
34 checks passed
@vinistock vinistock deleted the vs/warn_about_no_workspaces branch June 11, 2024 13:28
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