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

Extension cannot find bazel root without a WORKSPACE file #428

Open
leryss opened this issue Jan 3, 2025 · 3 comments
Open

Extension cannot find bazel root without a WORKSPACE file #428

leryss opened this issue Jan 3, 2025 · 3 comments

Comments

@leryss
Copy link

leryss commented Jan 3, 2025

In pure bzlmod projects where there is no WORKSPACE file, the extension cannot find the root of the project and all paths become absolute as seen in the screenshot below. Is this intended?

image

@cameron-martin
Copy link
Collaborator

A reproducer for this would be appreciated.

@leryss
Copy link
Author

leryss commented Jan 8, 2025

remove the WORKSPACE file and restart vscode
go to any target and the gray path added by the extension will become absolute

@cameron-martin
Copy link
Collaborator

Unfortunately I cannot reproduce this. If you could give me a repository to reproduce this, plus tell me the version of the extension you are using, that would be helpful.

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

No branches or pull requests

2 participants