-
Notifications
You must be signed in to change notification settings - Fork 17.7k
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
x/tools/gopls: package (still) not found when "linksInHover": "gopls" #68223
Comments
Note: The specific issue in #68116 is fixed. I can now get to the grpc.DialContext w/o issue ... but something is still janky resolving the package name maybe? |
Thanks, we'll take a look and fix for v0.16.1 if possible. CC @adonovan |
I think @adonovan had not yet reproduced this. I'm sure there's a bug here, but it might not make v0.16.1, which we want to release early next week in light of the US holidays. |
Indeed, I couldn't reproduce it. I notice that (a) there's no go.mod file and (b) the import path reported by
|
@adonovan Maybe you can help your fellow Googler's ;-) ? google/flatbuffers#7783 |
@adonovan To expand on what I did ... import (
flatbuffers "github.com/google/flatbuffers/go"
)
...
func FinishMeasureBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT) {
builder.Finish(offset)
}
... Hover over I get the 404 error Alternatively .. in the same code at the same place, right click on Which works and renders the documentation. So one code path figured out the correct url (source action), the other one (popover) doesn't. |
gopls version
dev version installed from golang/tools@8fa4173
go env
What did you do?
I installed from master and am having a similar problem to #68116
From doc link in the hover popup: (URL: http://127.0.0.1:63774/gopls/on0HKAhym30/pkg/github.com/google/flatbuffers?view=1#Builder)
From the Source Action: (URL: http://127.0.0.1:63774/gopls/on0HKAhym30/pkg/github.com/google/flatbuffers/go?view=1#Builder
Note the difference in the URLS....
http://127.0.0.1:63774/gopls/on0HKAhym30/pkg/github.com/google/flatbuffers?view=1#Builder
http://127.0.0.1:63774/gopls/on0HKAhym30/pkg/github.com/google/flatbuffers/go?view=1#Builder
The first one doesn't work, the second one does.
What did you see happen?
open the docs when clicking on the doc link in the hover popup
What did you expect to see?
open the docs when clicking on the doc link in the hover popup
Editor and settings
vscode
Logs
No response
The text was updated successfully, but these errors were encountered: