Skip to content

x/tools/gopls: stuck on "Setting up workspace: Loading packages..." #42255

Closed
@mxpaspa

Description

@mxpaspa
  • go version- 1.15.3
  • vs code version 1.50.1
  • extension version 0.18.0
GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/Users/[email protected]/Library/Caches/go-build"
GOENV="/Users/[email protected]/Library/Application Support/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOINSECURE=""
GOMODCACHE="/Users/[email protected]/go/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="darwin"
GOPATH="/Users/[email protected]/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/local/Cellar/go/1.15.3/libexec"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/local/Cellar/go/1.15.3/libexec/pkg/tool/darwin_amd64"
GCCGO="gccgo"
AR="ar"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD="/Users/[email protected]/go/src/github.com/redhat-marketplace-operator/go.mod"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/c1/ym_2q3ls1z5gfcylg1dcb_240000gn/T/go-build950413556=/tmp/go-build -gno-record-gcc-switches -fno-c
    "go.alternateTools": {
        "go-langserver": "gopls"
      },
      "go.languageServerFlags": [
        "serve",
        "-rpc.trace",
        "--debug=localhost:6060",
      ],
      "go.languageServerExperimentalFeatures": {
        "autoComplete": true,
        "documentSymbols": true,
        "findReferences": true,
        "goToDefinition": true,
        "goToTypeDefinition": true,
        "hover": true,
        "signatureHelp": true,
        "rename": true,
        "workspaceSymbols": true,
    },
    "go.formatTool": "goimports",
    "go.autocompleteUnimportedPackages": false,
    "go.buildOnSave": "on",
    "go.vetOnSave": "off",
    "go.useCodeSnippetsOnFunctionSuggest": true,
    "go.useCodeSnippetsOnFunctionSuggestWithoutType": true,
    "go.useLanguageServer": true,

Describe the bug

I upgraded to go 1.15.3, updated golang tools including the Go extension and the extension is stuck on "Loading packages..."

Screenshots or recordings

If applicable, add screenshots or recordings to help explain your problem.
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    FrozenDueToAgeToolsThis label describes issues relating to any tools in the x/tools repository.WaitingForInfoIssue is not actionable because of missing required information, which needs to be provided.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