DisposaBoy / GoSublime

A Golang plugin collection for SublimeText 3, providing code completion and other IDE-like features.
MIT License
3.42k stars 302 forks source link

When $GOROOT=go_appengine/goroot, margo needs to use `goapp` tool instead of `go`. #542

Closed mortdeus closed 5 years ago

mortdeus commented 10 years ago

The go tool that comes with the go appengine sdk has been renamed to goapp. Margo doesn't know to look for the go tool under any other name. I can think of various different ways to solve this.

  1. Have margo look for both.
  2. Allow us to set a GOROOT and a GOAPPROOT envs and provide gosublime features to deploy and serve from sublime text.
  3. Allow the user to set the path to the go tool we want to use with gosublime.
Manbeardo commented 9 years ago

The goapp tool used by the GAE SDK is very different from the standard go tool. For gosublime compatibility, install the normal go tool, set your GOROOT at the standard install, and add GAE's goroot dir to GOPATH.