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

Hover info does not show doc string for structs #440

Closed
nii236 opened this issue Aug 17, 2016 · 2 comments
Closed

Hover info does not show doc string for structs #440

nii236 opened this issue Aug 17, 2016 · 2 comments

Comments

@nii236
Copy link

nii236 commented Aug 17, 2016

I'm not sure if this is expected behaviour, but here is a screenshot. The struct has a docstring but it is not shown in the hover info.

@lukehoban
Copy link
Member

This is not supported currently - only functions, and only from standard library. See #87 for some discussion on this. PRs welcome.

@ramya-rao-a ramya-rao-a changed the title Hover info does not work for structs Hover info does not show doc string for structs Nov 20, 2016
@ramya-rao-a
Copy link
Contributor

ramya-rao-a commented Nov 21, 2016

In the latest update of the Go extension (0.6.50), we now support the use of gogetdoc for Goto/Peek Definition, Hover info and Signature Help features. Add "go.docsTool": "gogetdoc" to your setting to enable the use of gogetdoc, reload/restart VS Code and that should fix this issue.

@vscodebot vscodebot bot locked and limited conversation to collaborators Jan 23, 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

Successfully merging a pull request may close this issue.

3 participants