GOROOT=/usr/lib/go
GOBIN=/home/kyz/Dropbox/go/bin
Don't forget to change the ownership or you won't able to save:
sudo chown `whoami` /usr/share/liteide/liteenv/*
Also don't forget to add custom GOPATH (View > Manage GOPATH..) if necessary
But sometimes the jump to declaration feature doesn't work at all.
There are another alternative that is komodo-edit, you can install it using:
pacman -Sy komodo-edit
Then you could clone the komodo-go repository:
cd /tmp
git clone https://github.com/Komodo/komodo-go
cd komodo-go
Make sure that you have installed Python 2.x, and then just built the extension
/opt/komodo-edit/lib/sdk/bin/koext build
Now, install godef to make it support jump to declaration command:
go get -u -v code.google.com/p/rog-go/exp/cmd/godef
Now your komodo-edit with Go integration will work as expected.
No comments :
Post a Comment
THINK: is it True? is it Helpful? is it Inspiring? is it Necessary? is it Kind?