Skip to content
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

gopls: hovering on something doesn't show documentation anymore #2432

Closed
primalmotion opened this Issue Apr 9, 2019 · 6 comments

Comments

Projects
None yet
4 participants
@primalmotion
Copy link
Contributor

primalmotion commented Apr 9, 2019

Since I switched to gopls (latest master), I don't see the documentation of a function when I mouse hover it.

Setting "hover": false makes it work again

conf:

go.docsTool": "gogetdoc",
"go.alternateTools": {
        "go-langserver": "gopls"
},
"go.languageServerExperimentalFeatures": {
        "format": true,
        "autoComplete": true,
        "rename": true,
        "goToDefinition": true,
        "hover": true,
        "signatureHelp": true,
        "goToTypeDefinition": true,
        "goToImplementation": true,
        "documentSymbols": true,
        "workspaceSymbols": true,
        "findReferences": true,
        "diagnostics": true
    }
@saibing

This comment has been minimized.

Copy link

saibing commented Apr 10, 2019

@primalmotion

You can try the enhanced version of gopls

@primalmotion

This comment has been minimized.

Copy link
Contributor Author

primalmotion commented Apr 10, 2019

@saibing it works with your fork. Is there any plan to merge your changes upstream?

@primalmotion

This comment has been minimized.

Copy link
Contributor Author

primalmotion commented Apr 10, 2019

for reasons, it also makes #2419 work

@ramya-rao-a

This comment has been minimized.

Copy link
Member

ramya-rao-a commented Apr 11, 2019

@primalmotion Can you check if there is an issue for this at https://github.com/golang/go/issues?utf8=✓&q=is%3Aissue+is%3Aopen+label%3Agopls? If not, can you please log one?

cc @stamblerre In case she knows the current tracking issue for this

@stamblerre

This comment has been minimized.

Copy link
Contributor

stamblerre commented Apr 11, 2019

Yep, this is something we are working on (golang/go#29151). We will be supporting all of the features from bingo in gopls eventually.

@ramya-rao-a

This comment has been minimized.

Copy link
Member

ramya-rao-a commented Apr 11, 2019

Great! Closing this issue in favor of golang/go#29151

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.