Open Akiyamka opened 1 month ago
I suspect this is an issue in https://github.com/facebook/starlark-rust. Do you mind opening an issue there?
I think this is actually the result of directly converting io::Error
to anyhow::Error
, and io::Error
doesn't contain great info on which file you are trying to open. It would be great if we could get the language server to print stack traces, so we know where this is coming from.
Do you have a reproducer for this, so I can have a play around?
I don't have anything on hand that I can post publicly, but I'll try to create a new project on bazel 6.5 like I have, I think it will work, let me check
unfortunately I was unable to reproduce it separately
bazel-lsp in pair with vscode-bazel spams endlessly with an error when hovering over rules imported from other files.
Log from bazel-lsp:
... and so on.
Unfortunately this information is not enough to understand what file or directory it is trying to find, and where. Would be cool to add more info to those messages, probably under --verbose flag
bazel-lsp version: 0.6.0
P.S. One another bug - incorrect version reporting