You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When you're inside a Go project and GoToDef to a third party library, things work. However, you cannot continue GoingToDef from within the newly opened file that is inside $GOPATH/pkg/mod.
Reproduce
# be outside of GOPATH
1. ~ git clone https://github.com/marwan-at-work/authproxy
2. ~ cd authproxy
3. ~ go build ./...
4. ~ code . # open VSCode pointed at this prject
5. Open the cmd/authproxy/main.go file and go to line 21 that reads `envconfig.MustProcess("", &config)`
6. Hover over the `MustProcess` part and GoToDef
7. This should open up a new file at $GOPATH/pkg/mod/github.com/kelseyhightower/envconfig@v1.3.0/envconfig.go
8. From that file try to GoToDef to any symbol: i.e. like line 90: Process function
Expected: go to def should work and go to the Process function.
Actual: nothing happened.
Furthermore, hover info doesn't work either so maybe nothing works.
Summary
When you're inside a Go project and GoToDef to a third party library, things work. However, you cannot continue GoingToDef from within the newly opened file that is inside $GOPATH/pkg/mod.
Reproduce
Expected: go to def should work and go to the Process function.
Actual: nothing happened.
Furthermore, hover info doesn't work either so maybe nothing works.
Editor Settings
GO111MODULE: on
Editor: VSCODE
GoPls Settings:
The text was updated successfully, but these errors were encountered: