Skip to content

Commit 4388b61

Browse files
committed
gopls/internal/golang: CodeAction(gopls.doc.features): update URL
Updates golang/go#68977 Change-Id: I3d540dfff0d0c27a66d5bdd14fff08bfe896aedc Reviewed-on: https://go-review.googlesource.com/c/tools/+/690956 LUCI-TryBot-Result: Go LUCI <[email protected]> Reviewed-by: Robert Findley <[email protected]>
1 parent 36e3d96 commit 4388b61

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

gopls/internal/golang/codeaction.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -461,11 +461,9 @@ func goSplitPackage(ctx context.Context, req *codeActionsRequest) error {
461461
// goplsDocFeatures produces "Browse gopls feature documentation" code actions.
462462
// See [server.commandHandler.ClientOpenURL] for command implementation.
463463
func goplsDocFeatures(ctx context.Context, req *codeActionsRequest) error {
464-
// TODO(adonovan): after the docs are published in gopls/v0.17.0,
465-
// use the gopls release tag instead of master.
466464
cmd := command.NewClientOpenURLCommand(
467465
"Browse gopls feature documentation",
468-
"https://github.com/golang/tools/blob/master/gopls/doc/features/index.md")
466+
"https://go.dev/gopls/features")
469467
req.addCommandAction(cmd, false)
470468
return nil
471469
}

0 commit comments

Comments
 (0)