-
Notifications
You must be signed in to change notification settings - Fork 128
Guru navigation should support build tags #603
Comments
I figured it export GOOS=linux for OSX this needs to be set in ~/.bash_profile |
now I hit another issue when trying to compile a darwin package I need change the $GOOS every time would it make sense to allow setting custom env in go-plus instead of the default ~/.bash_profile ? |
I wouldn't recommend using your text editor to cross compile. Go plus runs
tests so needs to be building artifacts for your host OS.
Whenever I need to cross compile I simply run a Go build from the command
line.
…On Wed, Mar 22, 2017 at 6:42 AM Krasi Georgiev ***@***.***> wrote:
now I hit another issue when trying to compile a darwin package I need
change the $GOOS every time
would it make sense to allow setting custom env in go-plus instead of the
default ~/.bash_profile ?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#603 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AHLavwIm0eH02AhGXHQ5cxGfCaVfK4zdks5roRcrgaJpZM4MhmfU>
.
|
my issue is code navigation CTRL+click to go to function definition. |
Right, but setting
The real issue here is that we need to pass |
Atom 1.15.0
this happens only for some packages.
A quick google search show that it has something to do with the
//+build tags
$ /usr/local/Cellar/go/1.8/libexec/bin/go version
go version go1.8 darwin/amd64
$ /usr/local/Cellar/go/1.8/libexec/bin/go env
GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="/Users/krasimir"
GORACE=""
GOROOT="/usr/local/Cellar/go/1.8/libexec"
GOTOOLDIR="/usr/local/Cellar/go/1.8/libexec/pkg/tool/darwin_amd64"
GCCGO="gccgo"
CC="clang"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -gno-record-gcc-switches -fno-common"
CXX="clang++"
CGO_ENABLED="1"
PKG_CONFIG="pkg-config"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PHP DebugPHP ConsoleSettings
go-plus6 deprecations
atom .
from the terminal in your project's directory?go env
is correct? If it is, please include the output in this issue.No, Don't think it is relevant.
Output from
atom -v && apm -v
Atom : 1.15.0
Electron: 1.3.13
Chrome : 52.0.2743.82
Node : 6.5.0
apm 1.15.3
npm 3.10.5
node 4.4.5 x64
python 2.7.10
git 2.10.1
Output From
go env
GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="/Users/krasimir/projects/vipconsult/golang"
GORACE=""
GOROOT="/usr/local/go"
GOTOOLDIR="/usr/local/go/pkg/tool/darwin_amd64"
GCCGO="gccgo"
CC="clang"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -gno-record-gcc-switches -fno-common"
CXX="clang++"
CGO_ENABLED="1"
PKG_CONFIG="pkg-config"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
Steps to Reproduce
https://screencast.com/t/LC2xKqlc
Expected Behavior
to navigate to the correct package
Actual Behavior
error
The text was updated successfully, but these errors were encountered: