go/internal/lsp/testdata
Marwan Sulaiman 3ce772872c internal/lsp/source: support stubbing concrete type params
This CL adds support for generating method stubs for named types
that have type parameters and want to implement an interface.
See internal/lsp/testdata/stub/stub_generic_receiver.go for an example.
Note, this CL does not yet support type params on interface declarations.

Updates golang/go#37537

Change-Id: I2a2a18d364b2b489e2fbd8a74dfed88ae32d83b5
Reviewed-on: https://go-review.googlesource.com/c/tools/+/389654
Trust: Robert Findley <rfindley@google.com>
Run-TryBot: Robert Findley <rfindley@google.com>
Reviewed-by: Robert Findley <rfindley@google.com>
gopls-CI: kokoro <noreply+kokoro@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Trust: Suzy Mueller <suzmue@golang.org>
2022-03-03 22:52:16 +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 internal/typesinternal: use Go 1.16 metadata for go/types errors 2020-12-07 17:42:14 +00:00
badstmt
bar
basiclit internal/lsp: add support for hovering runes 2021-09-14 22:22:34 +00:00
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 internal/lsp: add support for hovering runes 2021-09-14 22:22:34 +00:00
cgoimport internal/lsp: add support for hovering runes 2021-09-14 22:22:34 +00:00
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: adjust extract function range if block statement 2021-10-22 02:18:41 +00:00
fieldlist
fillstruct gopls, internal/lsp: support fillstruct for partially-filled structs 2020-11-30 20:22:45 +00:00
folding internal/lsp: foldable multiline strings 2022-01-04 20:54:25 +00:00
foo
format
func_rank
funcsig
funcvalue
fuzzymatch
generate
generated
godef internal/lsp/source: use the object as the hover source for type params 2022-02-17 17:38:34 +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 internal/lsp: fix some incorrect spelling 2020-11-24 11:59:21 +00:00
labels
links
maps lsp/completion: reorganize how we track candidate type mods 2021-06-09 15:58:13 +00:00
missingfunction internal/lsp/analysis: move implementmissing logic into undeclared 2021-09-28 22:17:57 +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 internal/lsp: find references for ident before selector 2021-08-02 19:06:04 +00:00
rename internal/lsp: use LookupParent for finding scope 2021-08-11 21:39:32 +00:00
selector
semantic internal/lsp: produce "method" in place of "member" as per the spec 2021-09-13 21:01:54 +00:00
signature internal/lsp: skip signature help within a string literal 2021-07-26 16:44:13 +00:00
snippets internal/lsp/source/completion: add conventional acronyms for type names 2022-02-03 15:53:42 +00:00
statements internal/lsp: add snippet completion for t.Fatal errs 2021-03-15 21:39:02 +00:00
stub internal/lsp/source: support stubbing concrete type params 2022-03-03 22:52:16 +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: precompute workspace symbols 2021-08-09 20:20:17 +00:00
summary.txt.golden gopls,internal/lsp: Implement method stubbing via CodeAction 2022-02-16 19:42:34 +00:00
summary_go1.18.txt.golden internal/lsp/source: support stubbing concrete type params 2022-03-03 22:52:16 +00:00