Closed zhuah closed 9 years ago
If there is multiple path in env GOPATH, such as /opt/golang:/home/my/Go, the plugin source code can't find the correct path of godef bin
godef_bin = os.path.join(self.gopath, "bin", "godef")
I suggest setup godef path in the settings file Godef.sublime-settings explicitly, self.godefpath = settings.get("godef")
self.godefpath = settings.get("godef")
or use the first path of GOPATH, self.gopath.split(":")[0]
self.gopath.split(":")[0]
I have test first, and it work well.
Thanks for mention this issue. Now supported. Please reinstall and have a try.
If there is multiple path in env GOPATH, such as /opt/golang:/home/my/Go, the plugin source code can't find the correct path of godef bin
I suggest setup godef path in the settings file Godef.sublime-settings explicitly,
self.godefpath = settings.get("godef")
or use the first path of GOPATH,
self.gopath.split(":")[0]
I have test first, and it work well.