go/internal/lsp/analysis
Suzy Mueller 04bd087817 internal/lsp: enable fillstruct for generics
This enables some fill struct code actions for instances of structs with
type parameters.

This additionally adds a filtering mechanism to the suggested fixes in
order to account for multiple suggested fixes in the same location.

Change-Id: I98866b462b026f4c5a4897bc278f704381623f25
Reviewed-on: https://go-review.googlesource.com/c/tools/+/418415
Reviewed-by: Robert Findley <rfindley@google.com>
gopls-CI: kokoro <noreply+kokoro@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Suzy Mueller <suzmue@golang.org>
2022-07-25 16:40:20 +00:00
..
embeddirective internal/lsp/analysis: fix a doc comment typo 2022-05-11 23:42:05 +00:00
fillreturns internal/lsp: add check for nil results to fillreturns 2022-07-20 19:56:16 +00:00
fillstruct internal/lsp: enable fillstruct for generics 2022-07-25 16:40:20 +00:00
infertypeargs internal/typeparams: simplify the IndexExpr API 2022-01-19 20:29:28 +00:00
nonewvars internal/lsp/analysis: add typeparams tests for nonewvars and noresultvalues 2021-10-13 04:56:02 +00:00
noresultvalues internal/lsp/analysis/noresultvalues: update for CL 379116 error message change 2022-01-18 21:28:05 +00:00
simplifycompositelit gopls: fix various staticcheck errors 2020-09-29 17:30:36 +00:00
simplifyrange internal/lsp: make sure that `gofmt -s` analyses don't modify AST 2020-04-06 21:01:14 +00:00
simplifyslice internal/lsp: add parameterized slice test for simplifyslice analysis 2021-10-01 15:56:03 +00:00
stubmethods internal/lsp/analysis/stubmethods: recognize *ast.CallExpr 2022-05-17 17:04:34 +00:00
undeclaredname internal: remove unneeded FileSets 2022-06-06 20:47:10 +00:00
unusedparams internal/lsp: add suggested fix for unusedparams analysis 2022-01-14 17:47:02 +00:00
unusedvariable internal/lsp/analysis/unusedvariable: add analyzer 2022-07-15 14:27:36 +00:00
useany internal/lsp/analysis: add a useany analyzer 2021-09-22 22:01:06 +00:00