go/internal/lsp/analysis/fillstruct
Suzy Mueller ba6b94c735 internal/lsp: add fields to anonymous struct info
Anonymous struct quick fixes should provide more information on
which struct they will fill. This adds the first fields of an
anonymous struct to the fill title.

Updates golang/go#48563

Change-Id: I42cee2e8b1b9405ac2e2e8cfb8deb2c7710c3056
Reviewed-on: https://go-review.googlesource.com/c/tools/+/351591
Trust: Suzy Mueller <suzmue@golang.org>
Run-TryBot: Suzy Mueller <suzmue@golang.org>
gopls-CI: kokoro <noreply+kokoro@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Rebecca Stambler <rstambler@golang.org>
2021-09-24 21:18:44 +00:00
..
testdata/src gopls, internal/lsp: support fillstruct for partially-filled structs 2020-11-30 20:22:45 +00:00
fillstruct.go internal/lsp: add fields to anonymous struct info 2021-09-24 21:18:44 +00:00
fillstruct_test.go internal/lsp: move fillstruct suggested fixes out of analysis 2020-07-20 20:42:44 +00:00