go/internal/lsp/testdata/godef
Robert Findley 2536df952b internal/lsp/source: include builtin name in hovered signature
Make builtin hover consistent with signatureHelp by reusing the
BuiltinSignature function. To simplify this, just precompute the builtin
signature. In later CLs we can pre-compute all signatures and eliminate
the signatureSource indirection.

Fixes golang/go#51811

Change-Id: I1babe64ba41f636bf455074a23ad6dac5539fb89
Reviewed-on: https://go-review.googlesource.com/c/tools/+/395294
Trust: Robert Findley <rfindley@google.com>
Run-TryBot: Robert Findley <rfindley@google.com>
gopls-CI: kokoro <noreply+kokoro@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
2022-03-24 20:26:13 +00:00
..
a internal/lsp/source: include builtin name in hovered signature 2022-03-24 20:26:13 +00:00
b internal/lsp/source: move doc links to the bottom of hover 2022-03-18 13:39:41 +00:00
broken internal/lsp: add support for hovering runes 2021-09-14 22:22:34 +00:00
hover_generics internal/lsp/source: move doc links to the bottom of hover 2022-03-18 13:39:41 +00:00
infer_generics internal/lsp/source: use the object as the hover source for type params 2022-02-17 17:38:34 +00:00