1
0
mirror of https://github.com/golang/go synced 2024-11-18 13:04:46 -07:00
go/internal/lsp/tests
Josh Baum 9c9572d6f9 internal/lsp: extract highlighted selection to variable
I add a code action that triggers upon request of the user. A variable
name is generated manually for the extracted code because the LSP does
not support a user's ability to provide a name.

Change-Id: Id1ec19b49562b7cfbc2cd416378bec9bd021d82f
Reviewed-on: https://go-review.googlesource.com/c/tools/+/240182
Run-TryBot: Josh Baum <joshbaum@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Rebecca Stambler <rstambler@golang.org>
2020-07-07 21:12:28 +00:00
..
tests_go115.go internal/lsp: use TypecheckCgo when possible 2020-05-13 17:53:51 +00:00
tests.go internal/lsp: extract highlighted selection to variable 2020-07-07 21:12:28 +00:00
util.go Revert "internal/lsp: hide analysis diagnostics from generated files" 2020-04-30 19:28:56 +00:00