go-plus icon indicating copy to clipboard operation
go-plus copied to clipboard

goto declaration doesn't work without contortionist level configuration

Open pcarinhas opened this issue 5 years ago • 0 comments

Help, format on save stopped working when I upgraded to v6.0.0+

Format on save must now be enabled in the settings for atom-ide-ui. See the release notes for how to enable this.

Prerequisites

  • [ yes] Have you tried launching atom . from the terminal in your project's directory?
  • [ yes] Have you verified the output from go env is correct? If it is, please include the output in this issue.
  • [ yes] Have you updated Atom to the latest version?
  • [no] Have you tried using Atom Beta, which can be run side-by-side with Atom Stable? Is the behavior the same, or different?
  • [ yes] Have you updated your Atom packages to the latest versions?
  • [yes] Have you read the FAQ?
  • [no] Have you searched the issues to see if others are experiencing the same issue?

Description

[Description of the bug or feature]

Output from atom -v && apm -v

Atom : 1.43.0 Electron: 4.2.7 Chrome : 69.0.3497.128 Node : 10.11.0 apm 2.4.3 npm 6.2.0 node 10.2.1 x64 atom 1.43.0 python 3.7.4 git 2.20.1

[atom -v && apm -v output here]

Output From go env

[go env output here] GO111MODULE="" GOARCH="amd64" GOBIN="" GOCACHE="/home/joe/.cache/go-build" GOENV="/home/joe/.config/go/env" GOEXE="" GOFLAGS="" GOHOSTARCH="amd64" GOHOSTOS="linux" GONOPROXY="" GONOSUMDB="" GOOS="linux" GOPATH="/z/zing" GOPRIVATE="" GOPROXY="https://proxy.golang.org,direct" GOROOT="/home/joe/.gvm/gos/go1.13.6" GOSUMDB="sum.golang.org" GOTMPDIR="" GOTOOLDIR="/home/joe/.gvm/gos/go1.13.6/pkg/tool/linux_amd64" GCCGO="gccgo" AR="ar" CC="gcc" CXX="g++" 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 -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build508285798=/tmp/go-build -gno-record-gcc-switches"

Steps to Reproduce

  1. [First Step] Install atom
  2. [Second Step] install go-plus packa
  3. [and so on...] suffer

Expected Behavior

It should be dirt simple. No ctags, no extra packages, no "turning it on".

Actual Behavior

Its a pain in the arse. After hours of configuration, it still fails to work except for local files. I set GOROOT and GOPATH corrrectly.

pcarinhas avatar Jan 17 '20 17:01 pcarinhas