-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Go Guru not working aka I've done something wrong! #33
Comments
Versions are: |
Hi! :) |
Extract of log file. I can see a GoGuru error at the end, but you're the expert I'll leave it to you... :-)
|
I reset "use_golangconfig" to false and the log file looks healthier but I'm not seeing any output...
|
Would it help if I trimmed the copy and pasted log file? If so, which bits do you need? Presumably the last few lines at least. |
I didn't realise you could edit these messages. Debug messages now trimmed to more manageable sizes. Do you reckon you'll be able to look at this soon? I'm very keen to try out this plug-in!! |
please post the console output of: guru -scope ,github.com/carlca/types/nodes -tags "" callers C:\gocode\src\github.com\carlca\types\nodes\nodes.go:#1067,#1074 be aware that the guru bin should be called directly from the command "guru" and its seems that the go bin directory isnt linked properly (I dont know too much about windows), run the command above and well find out. |
Syntax error - I took out the , after scope - still syntax error - complaining about #1074. Removed #1074, now guru command fails and just says "Run 'guru -help' for more information." |
OK, I'm trying the same thing with a different section of code, copying and pasting (and deleting the , ) from the console to CMD (doesn't work in Powershell!). Now I get expected results. But nothing shows in ST3...
It seems that the results of the guru command are not being passed back to ST3. *** IMPORTANT *** |
When I had "package types" at the top of the source file, guru returned the message...
|
In case you're wondering about the weird line numbers in the comment above, they are correct they just reference a section of test code (not using the test package) that had a lot of repeated calls to "AddChild"! |
You mentioned just now about the GOBIN directory not working. Well, I noticed that on my system, GOBIN was not being set atll as an environment variable. I have set it both to C:\Go\bin (my goroot + bin) and C:\Gocode\bin (my gopath + bin) but GoGuru didn't seem to work in either case. |
I found the problem! It seems that GoGuru does not work if another package Kite (Python co-pilot software) is installed. If I disable Kite, the GoGuru works brilliantly. I especially like the "implements" command which was my primary motivation for installing the package in the first place. I'll let the Kite programmers know about the issue - I don't know whose responsibility it would be to fix it. It isn't urgent, though because the workaround (by disabling Kite) is so simple. |
Hi, I've installed Go Guru and the sublime plug-in. I've moves the compiled guru.exe to mt GOPATH (in this case C:\Go\Bin) and tried to use it with Ctrl-Shift G and Implements over the highlighted text "Stringer". This just results in the console showing "Running guru implements command..." but nothing is outputted. I'm sure it's something obvious I've forgotten to do, but what?!
I have altered "use_golangconfig" to true but that hasn't made any difference.
Thanks in advance,
Carl
The text was updated successfully, but these errors were encountered: