Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Go: Install current package doesn't display output like before #3359

Open
snigle opened this issue Apr 23, 2024 · 1 comment
Open

Go: Install current package doesn't display output like before #3359

snigle opened this issue Apr 23, 2024 · 1 comment
Milestone

Comments

@snigle
Copy link

snigle commented Apr 23, 2024

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

Version Information
  • Run go version to get version of Go from the VS Code integrated terminal.
    • go version go1.22.2 linux/amd64
  • Run gopls -v version to get version of Gopls from the VS Code integrated terminal.
    • golang.org/x/tools/gopls v0.15.3
  • Run code -v or code-insiders -v to get version of VS Code or VS Code Insiders.
    • 1.88.1
  • Check your installed extensions to get the version of the VS Code Go extension
    • v2024.4.1916
  • Run Ctrl+Shift+P (Cmd+Shift+P on Mac OS) > Go: Locate Configured Go Tools command.

Tools Configuration

Environment

GOBIN: undefined
toolsGopath:
gopath: /home/user/go/
GOROOT: /usr/local/go
PATH:xxx

Tools

go:	/usr/local/go/bin/go: go version go1.22.2 linux/amd64

gopls:	/home/user/go/bin/gopls	(version: v0.15.3 built with go: go1.22.1)
gotests:	/home/user/go/bin/gotests	(version: v1.6.0 built with go: go1.22.1)
gomodifytags:	/home/user/go/bin/gomodifytags	(version: v1.16.0 built with go: go1.22.1)
impl:	/home/user/go/bin/impl	(version: v1.1.0 built with go: go1.22.1)
goplay:	/home/user/go/bin/goplay	(version: v1.0.0 built with go: go1.22.1)
dlv:	/home/user/go/bin/dlv	(version: v1.22.1 built with go: go1.22.1)
golangci-lint:	/home/user/go/bin/golangci-lint	(version: v1.57.2 built with go: go1.22.1)

GO111MODULE=''
GOARCH='amd64'
GOBIN=''
GOCACHE='/home/user/.cache/go-build'
GOENV='/home/user/.config/go/env'
GOEXE=''
GOEXPERIMENT=''
GOFLAGS=''
GOHOSTARCH='amd64'
GOHOSTOS='linux'
GOINSECURE=''
GOMODCACHE='/home/user/go/pkg/mod'
GONOPROXY='xxx'
GONOSUMDB='xxx'
GOOS='linux'
GOPATH='/home/user/go/'
GOPRIVATE='xxx'
GOPROXY='xxxx'
GOROOT='/home/user/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.2.linux-amd64'
GOSUMDB='sum.golang.org'
GOTMPDIR=''
GOTOOLCHAIN='auto'
GOTOOLDIR='/home/user/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.2.linux-amd64/pkg/tool/linux_amd64'
GOVCS=''
GOVERSION='go1.22.2'
GCCGO='gccgo'
GOAMD64='v1'
AR='ar'
CC='gcc'
CXX='g++'
CGO_ENABLED='0'
GOMOD='xxx/go.mod'
GOWORK=''
CGO_CFLAGS='-O2 -g'
CGO_CPPFLAGS=''
CGO_CXXFLAGS='-O2 -g'
CGO_FFLAGS='-O2 -g'
CGO_LDFLAGS='-O2 -g'
PKG_CONFIG='pkg-config'
GOGCCFLAGS='-fPIC -m64 -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=/tmp/go-build2764240210=/tmp/go-build -gno-record-gcc-switches'

Share the Go related settings you have added/edited

"go.testEnvVars": {
        "REGION": "EU",
        "GW_HOST": "",
        "GW_ADDR": "",
        "VAULT_APP_KEY": "",
        "LOCKER_APP_KEY": "",
        "NO_SDEV": "1",
        "TEMPORAL_DEBUG": "1",
        "ULTRON_INFRASTRUCTURE": "preproduction"
    },
    // "go.testTags": "acceptance",
    "go.coverOnSingleTest": true,
    "go.coverOnSingleTestFile": true,
    "go.coverageDecorator": {
        "type": "gutter",
        "coveredHighlightColor": "rgba(64,128,128,0.5)",
        "uncoveredHighlightColor": "rgba(128,64,64,0.25)",
        "coveredGutterStyle": "blockgreen",
        "uncoveredGutterStyle": "slashred"
    },
    "go.testTimeout": "10s",
    "go.delveConfig": {
        "dlvFlags": [
            "--only-same-user=false"
        ],
        "dlvLoadConfig": {
            "maxStringLen": 5000,
            "maxArrayValues": 1000
        }
    },
    "gopls": {
        "build.buildFlags": [
            "-tags",
            "wireinject"
        ]
    },
    "go.lintTool": "golangci-lint",
    "go.lintFlags": [
        // "--fast"
    ],
    "go.lintOnSave": "package",
    "go.gopath": "/home/user/go/",

Describe the bug

When I run Go: Install current package, it does not display me go output in the output view like before.
I need to manually go to it to see when the install is terminated

Steps to reproduce the behavior:

  1. Go to main.go
  2. Click on F1 -> 'Go: Install current package'
  3. No display to say if the installation is done or not

Screenshots or recordings

image

image

@gopherbot gopherbot added this to the Untriaged milestone Apr 23, 2024
@findleyr
Copy link
Contributor

Thanks for the report. We're not sure why this regressed, but will investigate.

@findleyr findleyr modified the milestones: Untriaged, v0.43.0 Apr 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants