Hi,
I have packages which are outside the standard distribution installed in a directory under $GOPATH and they don't get picked up by the Zeus intellisense.
Is there a way to fix this? Typically, every package I get from github via "go get github.com..." and that I subsequently try to use in Zeus is covered by this.
Thanks,
Gheorghe
Intellisense in Go not working for $GOPATH packages.
Yes you can.Is there a way to fix this?
The intellisense information used in Zeus is created by the ctags utility and by creating a Zeus workspace a ctags database will also be created.
That database can then be used to drive the intellisense.
For example the standard Go intellisense in Zeus was configured by first creating a Go Core workspace containing all the Go package source code and the resulting Go Core ctags database was then bound to the Go document type.
You can see this database by editing the Tags Database section of the Go document type.
So to make Zeus intellisense a package outside the standard set of Go packages you will need to do the following:
1) Use the Workspace menu to sreate a new workspace.
2) Add the Go source files to this new workspace. There are several ways to build a Zeus workspace but one of the simplest is to use Windows explorer drag and drop the source files onto the workspace.
3) Use the Options, Editor Options menu to edit the Go document type and add the newly created workspace database to the document type.
Now the intellisense should work for that package.
Cheers Jussi