forked from golang/tools
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
internal/lsp/mod: add an "Upgrade direct dependencies" code lens
`go get -u all` can have unexpected behavior for some users, since upgrades all transitive dependencies as well as direct ones. Offer users the ability to upgrade only direct dependencies via a code lens. Also, change the placement of the upgrade code lenses. The module declaration was getting cluttered, and they make more sense above the requires anyway. Updates golang/go#38339 Change-Id: I6790a02f2a334f3f4d1d89934b2c4dc4f11845ce Reviewed-on: https://go-review.googlesource.com/c/tools/+/275432 Trust: Rebecca Stambler <rstambler@golang.org> Run-TryBot: Rebecca Stambler <rstambler@golang.org> gopls-CI: kokoro <noreply+kokoro@google.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Heschi Kreinick <heschi@google.com>
- Loading branch information
1 parent
c4e00c9
commit e0f7517
Showing
2 changed files
with
96 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters