go/internal/lsp/testdata
Rob Findley 4c651fc1fc internal/lsp/source: add inferred types to generic function hover
As an experiment, this CL introduces the first gopls feature that is
specific to generics: enriching function hover information with inferred
types. This is done with no additional gating on build constraints by
using the new internal/typeparams package.

The marker tests are updated to allow tests that rely on type parameters
being enabled.

Change-Id: Ic627d64b61a6211389196814edd0abe1484491eb
Reviewed-on: https://go-review.googlesource.com/c/tools/+/317452
Trust: Robert Findley <rfindley@google.com>
Run-TryBot: Robert Findley <rfindley@google.com>
gopls-CI: kokoro <noreply+kokoro@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Rebecca Stambler <rstambler@golang.org>
2021-06-22 16:07:17 +00:00
..
%percent
addimport internal/lsp: add list_known_packages and add_import commands 2021-05-23 03:57:00 +00:00
address lsp/completion: reorganize how we track candidate type mods 2021-06-09 15:58:13 +00:00
analyzer tools: make printf analysis have more helpful output 2021-05-21 23:19:31 +00:00
anon
append lsp/completion: reorganize how we track candidate type mods 2021-06-09 15:58:13 +00:00
arraytype lsp/completion: offer candidates converting arrays to slices 2021-04-22 04:15:51 +00:00
assign internal/lsp/source: omit assign stmt LHS in RHS completion 2020-12-07 20:43:33 +00:00
bad
badstmt
bar
basiclit
baz
builtins internal/lsp/completion: fix untyped int type inference 2021-02-05 20:20:24 +00:00
callhierarchy internal/lsp: include function literals in outgoing call hierarchy 2021-06-01 22:58:04 +00:00
casesensitive
cast
cgo
cgoimport
channel
codelens
comment_completion
complit lsp/completion: reorganize how we track candidate type mods 2021-06-09 15:58:13 +00:00
constant
danglingstmt
deep lsp/completion: reorganize how we track candidate type mods 2021-06-09 15:58:13 +00:00
errors
extract internal/lsp: change generated variable names to be more verbose 2021-06-09 14:15:55 +00:00
fieldlist
fillstruct
folding internal/lsp: fix folding range for block comments 2021-06-07 15:13:07 +00:00
foo
format
func_rank
funcsig
funcvalue
fuzzymatch
generate
generated
godef internal/lsp/source: add inferred types to generic function hover 2021-06-22 16:07:17 +00:00
good internal/lsp/source: make it an error to rename embedded fields 2021-01-26 13:52:46 +00:00
highlights
implementation
importedcomplit
imports
index internal/lsp/completion: fix untyped int type inference 2021-02-05 20:20:24 +00:00
interfacerank
keywords
labels
links
maps lsp/completion: reorganize how we track candidate type mods 2021-06-09 15:58:13 +00:00
multireturn lsp/completion: fix variadic param candidate ordering edge case 2021-06-01 17:02:03 +00:00
nested_complit
nodisk
noparse
noparse_format
printf
rank lsp/completion: reorganize how we track candidate type mods 2021-06-09 15:58:13 +00:00
references
rename internal/lsp/source: make it an error to rename embedded fields 2021-01-26 13:52:46 +00:00
selector
semantic internal/lsp: in semantic tokens, better distinguish between types and variables 2021-05-11 14:51:35 +00:00
signature
snippets lsp/completion: don't offer untyped conversions 2021-06-04 17:45:44 +00:00
statements internal/lsp: add snippet completion for t.Fatal errs 2021-03-15 21:39:02 +00:00
suggestedfix
symbols
testy
typdef internal/lsp/source: support typeDefinition for function/method's return values 2021-05-06 03:15:21 +00:00
typeassert lsp/completion: reorganize how we track candidate type mods 2021-06-09 15:58:13 +00:00
typeerrors
typemods lsp/completion: support completing to Elem() types 2021-06-09 15:58:30 +00:00
types
undeclared
unimported
unresolved
unsafe internal/lsp: update unsafe completion test for upcoming spec changes 2021-04-22 02:57:26 +00:00
variadic
workspacesymbol internal/lsp/source: correct workspace symbol logic for unpacking receivers 2021-03-05 19:21:50 +00:00
summary.txt.golden lsp/completion: support completing to Elem() types 2021-06-09 15:58:30 +00:00
summary_generics.txt.golden internal/lsp/source: add inferred types to generic function hover 2021-06-22 16:07:17 +00:00