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

Add map WorkspaceId -> SourceRootId #18823

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

alibektas
Copy link
Member

This PR adds a mapping from ProjectWorkspaces to SourceRootIds. In some cases where we don't have a FileId to turn into a SourceRootId, we resort to using SourceRootId of a workspace. Since SourceRoots do not hold a value path in them this is kind of hacky but it's a necessary hack nonetheless. This is important for our flycheck rewrite.

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Jan 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: Awaiting review from the assignee but also interested parties.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants