-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <giwaoluwatobi@gmail.com>
- Loading branch information
Showing
1 changed file
with
74 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters