Skip to content

Fix weird behavior of Quick Query in non-multi-root workspaces#230

Merged
jcreedcmu merged 1 commit intogithub:masterfrom
jcreedcmu:jcreed/quick-query-bug
Mar 17, 2020
Merged

Fix weird behavior of Quick Query in non-multi-root workspaces#230
jcreedcmu merged 1 commit intogithub:masterfrom
jcreedcmu:jcreed/quick-query-bug

Conversation

@jcreedcmu
Copy link
Copy Markdown
Contributor

Starting from a single-root workspace, Quick Query tries to add a workspace folder which points into workspace state, which then causes an extension host restart, and a different workspace state, leading to two Quick Query workspace folders.

The restart upon switching from single-root to multi-root appears to be unavoidable, and interrupts extension code execution, see microsoft/vscode#69335 (comment) for details.

@jcreedcmu jcreedcmu requested a review from alexet February 11, 2020 16:42
Copy link
Copy Markdown
Contributor

@aeisenberg aeisenberg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Though someone with more experience should approve.

Copy link
Copy Markdown
Contributor

@aeisenberg aeisenberg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Feel confident enough to approve this request.

@jcreedcmu jcreedcmu merged commit 8286850 into github:master Mar 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants