Closed sinbad closed 5 years ago
Oh and I checked the error log and it all looks fine:
Gocode env: gocode.margoEnv{LibPath:"/Users/steve/projects/go_src/pkg/darwin_amd64:/Users/steve/projects/Go/pkg/darwin_amd64", GOOS:"darwin", GOARCH:"amd64", Compiler:"gc", GOROOT:"/Users/steve/projects/go_src", GOPATH:"/Users/steve/projects/Go", InstallSuffix:""}
Gocode pkg: "github.com/github/git-lfs/git"
Gocode pkg: "github.com/github/git-lfs/commands"
Gocode pkg: "github.com/github/git-lfs/git"
Gocode pkg: "github.com/github/git-lfs/commands"
Gocode pkg: "github.com/github/git-lfs/locking"
Gocode pkg: "github.com/github/git-lfs/errors"
Gocode pkg: "github.com/github/git-lfs/locking"
Gocode pkg: "github.com/github/git-lfs/commands"
Gocode pkg: "github.com/github/git-lfs/locking"
Gocode pkg: "github.com/github/git-lfs/commands"
You can see where Gocode is supposedly updating; it adds a new line for the package as soon as I save a source file in it, which suggests it's updating, but autocomplete does not pick up the changes in other packages.
Sometime recently autocomplete stopped updating to reflect code changes in local packages when I save the source. If I force an update in
$GOPATH/pkg
via eithergo install
or by deleting the relevant subpath of$GOPATH/pkg/darwin_amd64
, then autocomplete picks up the code changes. This is tedious to do frequently and never occurred before, and I've been using GoSublime for almost 2 years. I'm not clear on whether the ST3, GS or golang update was the trigger since all updated recently and I'm not using golang quite as often.Appreciate any help!
Sublime Text 3 Build 3126 Go 1.7.1 (built from source) GoSublime v2016.07.09.19.36.28 OS X 10.11.6