Skip to content

x/tools/gopls: re-enable upgrade lenses for individual dependencies #42969

@wtask

Description

@wtask

What version of Go, VS Code & VS Code Go extension are you using?

  • Run go version to get version of Go
    • go version go1.15.5 windows/amd64
  • Run gopls -v version to get version of Gopls if you are using the language server.
    • v0.5.4
  • Run code -v or code-insiders -v to get version of VS Code or VS Code Insiders
    • 1.51.1
      e5a624b788d92b8d34d1392e4c4d9789406efe8f
      x64
  • Check your installed extensions to get the version of the VS Code Go extension
    • 0.19.0
  • Run go env to get the go development environment details
    set GO111MODULE=on
    set GOARCH=amd64
    set GOBIN=c:\dev\go\bin
    set GOCACHE=C:\Users\webta\AppData\Local\go-build
    set GOENV=C:\Users\webta\AppData\Roaming\go\env
    set GOEXE=.exe
    set GOFLAGS=
    set GOHOSTARCH=amd64
    set GOHOSTOS=windows
    set GOINSECURE=
    set GOMODCACHE=C:\dev\go\pkg\mod
    set GONOPROXY=gitlab.XXX
    set GONOSUMDB=gitlab.XXX
    set GOOS=windows
    set GOPATH=C:\dev\go
    set GOPRIVATE=gitlab.XXX
    set GOPROXY=https://proxy.golang.org,direct
    set GOROOT=c:\go
    set GOSUMDB=sum.golang.org
    set GOTMPDIR=
    set GOTOOLDIR=c:\go\pkg\tool\windows_amd64
    set GCCGO=gccgo
    set AR=ar
    set CC=gcc
    set CXX=g++
    set CGO_ENABLED=1
    set GOMOD=NUL
    set CGO_CFLAGS=-g -O2
    set CGO_CPPFLAGS=
    set CGO_CXXFLAGS=-g -O2
    set CGO_FFLAGS=-g -O2
    set CGO_LDFLAGS=-g -O2
    set PKG_CONFIG=pkg-config
    set GOGCCFLAGS=-m64 -mthreads -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=C:\Users\webta\AppData\Local\Temp\go-build547893570=/tmp/go-build -gno-record-gcc-switches

Describe the bug

So bug description is in the title for this issue.

Steps to reproduce the behavior:

  1. Open your go.mod in the editor.
  2. Wait a little time to appear update suggestions above dependencies references... Wait... Nothing happen.
  3. Downgrade gopls go get golang.org/x/tools/gopls@v0.5.3 and restart vscode
  4. Repeat 1-2 and see the suggestions is appeared.

Metadata

Metadata

Assignees

No one assigned

    Labels

    FrozenDueToAgeToolsThis label describes issues relating to any tools in the x/tools repository.goplsIssues related to the Go language server, gopls.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions