Skip to content

Conversation

@sidlatau
Copy link
Collaborator

@sidlatau sidlatau commented Jan 3, 2026

Make find_root workspace-aware so that when opening a file in a pub
workspace member package (pubspec.yaml has 'resolution: workspace'),
the LSP server is rooted at the workspace root instead of the member
package. This ensures a single LSP instance for the entire workspace.

Fixes #504

Make find_root workspace-aware so that when opening a file in a pub
workspace member package (pubspec.yaml has 'resolution: workspace'),
the LSP server is rooted at the workspace root instead of the member
package. This ensures a single LSP instance for the entire workspace.

Fixes #504
@sidlatau sidlatau merged commit 2f26317 into main Jan 3, 2026
7 checks passed
@sidlatau sidlatau deleted the workspace-resolution branch January 3, 2026 21:04
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.

Support single pub workspace analysis context

2 participants