-
Notifications
You must be signed in to change notification settings - Fork 18.3k
Open
Labels
FeatureRequestIssues asking for a new feature that does not need a proposal.Issues asking for a new feature that does not need a proposal.ToolsThis label describes issues relating to any tools in the x/tools repository.This label describes issues relating to any tools in the x/tools repository.goplsIssues related to the Go language server, gopls.Issues related to the Go language server, gopls.
Milestone
Description
What version of Go are you using (go version
)?
$ go version go version go1.13.1 linux/amd64
Does this issue reproduce with the latest release?
n/a
What operating system and processor architecture are you using (go env
)?
n/a
What did you do?
Wrote a project with bazel with .go files and .proto files. The protobufs generate go code, which I'm not sure how to make understandable to gopls. Code completion for this code does not work in VSCode.
What did you expect to see?
- Documentation of how to set up a Bazel-based project in the User guide.
- An example project that works and loads in an IDE like VS Code
What did you see instead?
Scattered information on the level of support and no example projects.
Related links:
- Expose generated Go files to editors and IDEs bazel-contrib/rules_go#512 - main source of updates on gopackagesdriver progress
- https://github.com/bazelbuild/rules_go/wiki/Editor-and-tool-integration: Design doc for gopackagesdriver - I'm not sure how accurate this is
- support for GOPACKAGESDRIVER env variable? microsoft/vscode-go#2755 - gopls support for GOPACKAGESDRIVER in VS Code
- Integration with Go editor tooling bazel-contrib/rules_go#393 - editor integration issue for rules_go
- x/tools/go/packages: document GOPACKAGESDRIVER #34341 - documentation request for GOPACKAGESDRIVER
- Code: jmhodges/rules_go/go/tools/gopackagesdriver, gopackagesdriver in rules_go feature branch, tools/go/packages/external.go seems to implement the external packages driver
ChetanBhasin, visortelle, pcj, duarten, lazdmx and 31 more
Metadata
Metadata
Assignees
Labels
FeatureRequestIssues asking for a new feature that does not need a proposal.Issues asking for a new feature that does not need a proposal.ToolsThis label describes issues relating to any tools in the x/tools repository.This label describes issues relating to any tools in the x/tools repository.goplsIssues related to the Go language server, gopls.Issues related to the Go language server, gopls.