GoSublime: no code completion for App Engine packages

I am trying to configure Sublime Text 2 to also execute code completion for App Engine packages.

In my GoSublime user settings, I have

{
        "shell": ["/bin/bash"],
        "env": {"GOPATH": "$HOME/gocode/:$HOME/src/go_appengine/goroot/src/"},
        "fmt_cmd": ["goimports"]
}

however, I cannot get code completion for App Engine packages to work.

I also linked darwin_amd64_appengine / with darwin_amd64 in the file ~ / src / go_appengine / goroot / pkg.

Any ideas?

+3
source share
2 answers

I had a rather lengthy discussion with the author of GoSublime, which was extremely useful, and we finally resolved the problem.

You can follow many steps in this GitHub issue .

, GoSublime , . , , .

+1

, Ralf. GoSublime Settings-User :

GoSublime.sublime-settings

{
  "use_legacy_imports": true,
  "installsuffix": "appengine",
  "env": {
    "GOPATH": "$HOME/google-cloud-sdk/platform/google_appengine/goroot"
  }
}
+1

All Articles