You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
gopls/internal/golang: add source code action for add test
This CL is some glue code which build the connection between the
LSP "code action request" with second call which compute the actual
DocumentChange.
AddTest source code action will create a test file if not already
exist and insert a random function at the end of the test file.
For testing, an internal boolean option "addTestSourceCodeAction"
is created and only effective if set explicitly in marker test.
For golang/vscode-go#1594
Change-Id: Ie3d9279ea2858805254181608a0d5103afd3a4c6
Reviewed-on: https://go-review.googlesource.com/c/tools/+/621056
Reviewed-by: Robert Findley <rfindley@google.com>
Reviewed-by: Alan Donovan <adonovan@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
0 commit comments