Skip to content

Extension host terminated unexpectedly on the macOS Catalina #473

@janapps

Description

@janapps
  • Run go version to get version of Go
    • go1.13.5 darwin/amd64
  • Check your installed extensions to get the version of the VS Code Go extension
    • v0.16.0
  • Run go env to get the go development environment details
    • GO111MODULE=""
      GOARCH="amd64"
      GOBIN=""
      GOCACHE="/Users/username/Library/Caches/go-build"
      GOENV="/Users/username/Library/Application Support/go/env"
      GOEXE=""
      GOFLAGS=""
      GOHOSTARCH="amd64"
      GOHOSTOS="darwin"
      GONOPROXY=""
      GONOSUMDB=""
      GOOS="darwin"
      GOPATH="/Users/username/go"
      GOPRIVATE=""
      GOPROXY="https://proxy.golang.org,direct"
      GOROOT="/usr/local/go"
      GOSUMDB="sum.golang.org"
      GOTMPDIR=""
      GOTOOLDIR="/usr/local/go/pkg/tool/darwin_amd64"
      GCCGO="gccgo"
      AR="ar"
      CC="clang"
      CXX="clang++"
      CGO_ENABLED="1"
      GOMOD=""
      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/12/j4y4gb956nn5nsx471vz78yh0000gn/T/go-build629689818=/tmp/go-build -gno-record-gcc-switches -fno-common"

Run Preferences: Open Settings (JSON) command to open your settings.json file.
Share all the settings with the go. or ["go"] or gopls prefixes.

{
"go.lintTool": "golint",
"go.lintFlags": [
"--exclude="\bexported \w+ (\S*['.])([a-zA-Z'.]*) should have comment or be unexported\b""
]
}

Describe the bug

Happens by itself

Steps to reproduce the behavior:

  1. Make change
  2. Save change
  3. See error

Screenshots or recordings

Screen Shot 2020-08-04 at 11 21 36 PM

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions