AlanQuatermain / go-tmbundle

A TextMate bundle for the Go programming language.
http://alanquatermain.net/
Other
127 stars 40 forks source link

Auto-complete (Escape) fails with: Can't find “gocode” on PATH #22

Open drnic opened 12 years ago

drnic commented 12 years ago
The current PATH is:

/usr/bin
/bin
/usr/sbin
/sbin
Please add the directory containing “gocode” to PATH in TextMate's Shell Variables preferences.

Alternatively, the PATH can be retrieved from Terminal but this requires a relaunch: 

Do I need to set up a PATH (not mentioned in README) or is it a bug in the bundle? I installed go via brew.

rsolari commented 12 years ago

See issue #9: https://github.com/AlanQuatermain/go-tmbundle/issues/9 You need to install gocode (https://github.com/nsf/gocode) and add it to your path.

Another workaround: tell go-tmbundle to stop handling 'escape': Bundles -> Bundle Editor -> Edit Commands -> Go -> Complete -> change "Activation" key from ⎋ (escape) to something else