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: added method docs to hover info #487

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Apr 8, 2024

  1. gopls: added method docs to hover info

    The change also includes a jump to definition feature for all methods.The
    change is quite fail-safe, such that if it fails in any way, it will still
    display the hover info without the method docs(as before). The change is
    localised to the the gopls/internal/golang/hover.go file, in function
    hover and formatHover.
    I should also mention that it does not alter the method displayed or it
    order, it just add the method docs (if any) and a jump to page source
    url to the hover info.
    
    Fixes golang/go#66721
    Fixes golang/go#66721
    
    Signed-off-by: tobigiwa <[email protected]>
    tobigiwa committed Apr 8, 2024
    Configuration menu
    Copy the full SHA
    27d26b0 View commit details
    Browse the repository at this point in the history