Intellisense for Bazel projects with protos #479
Labels
FrozenDueToAge
upstream-tools
Issues that are caused by problems in the tools that the extension depends on.
Is your feature request related to a problem? Please describe.
I'm starting a Go project (https://github.com/Michaelhobo/nrfbazel) which uses protos. I have a library (nrfbazelify/nrfbazelify.go) which imports a local generated proto as "github.com/Michaelhobo/nrfbazel/bazelifyrc" - this import path is from a go_proto_library Bazel rule. Since this doesn't resolve to anything, I get an import error that shows up under the bazelifyrc import, and intellisense for the import is broken.
Describe the solution you'd like
Ideally, I'd like the language server to support Bazel - use Bazel to build targets, and pull intellisense data from there. I could also stop putting all my dependencies in a separate go.mod just for vscode.
Describe alternatives you've considered
Is there some workaround for pointing the proto to a local proto file? I'd have to generate the Go code and store it somewhere though, not sure how easy that is. Is there any tooling around to do something like this?
The text was updated successfully, but these errors were encountered: