Skip to content
This repository has been archived by the owner on Jul 15, 2023. It is now read-only.

Hover info about a field doesn't show the type's package #1985

Closed
willfaught opened this issue Oct 9, 2018 · 3 comments
Closed

Hover info about a field doesn't show the type's package #1985

willfaught opened this issue Oct 9, 2018 · 3 comments

Comments

@willfaught
Copy link

For example:

screen shot 2018-10-09 at 2 26 49 pm

The the hover info about the field r.Facets is "Facets []ItemFacetToRetrieve", which suggests the type is declared in the same package, but you can see in the left part of the image that the actual package qualifier is pb.

OS: macOS High Sierra 10.13.6 (17G65)
VSCode: 1.28.0
Go extension: 0.6.90
Go: go version go1.11.1 darwin/amd64

@ramya-rao-a
Copy link
Contributor

Do you see anything different when you use the setting "go.docsTool": "gogetdoc" ?

@willfaught
Copy link
Author

I see something like field Facets []foo.com/import/path.ItemFacetToRetrieve, which is basically what I want. Thanks! Why not have that be the default?

@ramya-rao-a
Copy link
Contributor

Why not have that be the default?

Well, thats a long story :( I have #1025 tracking the need to make it default.
I just never got around to making a good benchmarking exercise to prove that it will not affect the performance.

@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 26, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants