I just installed Zeus 3.97p on a Win7 and tried formatting some Go code but it resulted in the following error message
I suspect the Go install folder is not in the system PATH.
To test this start Zeus and use the Tools, Dos Shell
menu and in the resulting command line prompt type in this:
Code: Select all
Go is a tool for managing Go source code.
go command [arguments]
Use "go help [topic]" for more information about that topic.
If instead you see this:
Code: Select all
'go.exe' is not recognized as an internal or external command,
operable program or batch file.
It means that the Go.exe is not in the PATH or Go is not installed.
One easy way to set the path is like this:
Find out where the Go.exe is installed (usually C:\Go\bin)
Close any open workspace
Use the Workspace Options
menu and select the General
Add the path from step one to the PATH
field (i.e. c:\Go\bin;)
Apply the changes and repeat the command line prompt again
Alternatively you could also change the path using the Windows Control Panel.
After failure the Go macros no longer show up in the menu (nor in the options list) until after restarting of Zeus IDE.
What happenened is because the Go execute failed the active window changed.
Now Zeus binds tools, macros and templates against the document type so when the active window change so did the document type.
To see the menu again just make a Go file the active file.
Any hints about where to look for a cause? On an vmware XP (3.97o) this works fine.
I am pretty sure the test above will indicate the Go.exe is not in the path and after you make that change it should all work.
Let me know how you get on.