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

x/tools/gopls: no documentation on hover for package-level variables and constants #33793

Closed
inliquid opened this issue Aug 22, 2019 · 4 comments
Labels
Documentation FrozenDueToAge gopls Issues related to the Go language server, gopls. Tools This label describes issues relating to any tools in the x/tools repository.
Milestone

Comments

@inliquid
Copy link

inliquid commented Aug 22, 2019

  1. VS Code
  2. master branch of gopls
>gopls version
golang.org/x/tools/gopls v0.1.3
    golang.org/x/tools/gopls@(devel)

No documentation is provided on hover for package-level variables and constants, f.e.:
изображение

@gopherbot gopherbot added this to the Unreleased milestone Aug 22, 2019
@gopherbot
Copy link

Thank you for filing a gopls issue! Please take a look at the Troubleshooting section of the gopls Wiki page, and make sure that you have provided all of the relevant information here.

@gopherbot gopherbot added the gopls Issues related to the Go language server, gopls. label Aug 22, 2019
@inliquid inliquid changed the title x/tools/gopls: no documentation on hover for package-level variables x/tools/gopls: no documentation on hover for package-level variables and constants Aug 22, 2019
@srikrsna
Copy link

I'm interested in addressing this. I am very new to this can someone guide me?

@gopherbot gopherbot added the Tools This label describes issues relating to any tools in the x/tools repository. label Sep 12, 2019
@JAicewizard
Copy link

This cant be fixed ATM because in the AST the comment is outside of the variable declaration and part of the var expression.

@ridersofrohan
Copy link

Fixed in #004141d

Screen Shot 2019-11-25 at 13 31 13

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Documentation FrozenDueToAge gopls Issues related to the Go language server, gopls. Tools This label describes issues relating to any tools in the x/tools repository.
Projects
None yet
Development

No branches or pull requests

6 participants