-
Notifications
You must be signed in to change notification settings - Fork 3
No suggestions are made, type signatures are still shown. #49
Comments
Can you please try |
I've tried your suggestion but I'm still getting the same behaviour, the output from the gocode daemon is the same too, but just in case I'm wrong here it is:
I've also tried |
each of your code snippets contain syntax errors: scoreBuckets := make(map[uint64]uint64)
r.URL#() // <------------------------
// Get the global stats. var totalScore uint64
scoreBuckets := make#(map[uint64]uint64) // <------------------------
for _, i := range items { maybe that's the reason why |
Those hashes aren't in the actual source code, I'm guessing that gocode On 1 Sep 2016 8:37 p.m., "Lukas Beranek" [email protected] wrote:
|
I'm having similar problems. In my case the suggestions from gocode are not the ones displayed. I test this with a test function typing t.r inside the function. gocode suggests the correct Run function. autocomplete-go displays : rd, review and Run(). This is the code: |
|
$ which -a gocode I did all your suggestions incl. dropping the cache and of course getting the newest gocode. Also only 1 gocode is running. BTW I have this problem on an Arch Linux system and on my docker image teenooch/go-atom |
FYI, I had that issue, or at least the same symptom and running |
I had this issue because I had |
Lol, my auto-complete started working after I ran |
👍 Tried all the troubleshooting steps and was able to get the completion working by the |
Having dealt with broken auto-completion for a while now after trying everything else I found, |
Prerequisites
go get -u github.com/nsf/gocode
(emphasis on the-u
flag)?atom .
from the terminal in your project's directory?go env
is correct? If it is, please include the output in thisissue.
GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/home/leo/development/projects/go"
GORACE=""
GOROOT="/usr/lib/go"
GOTOOLDIR="/usr/lib/go/pkg/tool/linux_amd64"
CC="gcc"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build498199209=/tmp/go-build -gno-record-gcc-switches"
CXX="g++"
CGO_ENABLED="1"
gocode
in server debug mode? In your terminal:gocode close
gocode -s -debug
Description
No completion suggestions are shown by autocomplete-go, although some information about type signatures is shown
Output From
go env
Steps to Reproduce
*http.Request
Expected Behavior
An
*http.Request
should suggestURL
which in turns suggestsQuery
Actual Behavior
No suggestions are made.
The text was updated successfully, but these errors were encountered: