Skip to content
This repository has been archived by the owner on Jul 15, 2023. It is now read-only.

PANIC on Intellisense #1058

Closed
ardan-bkennedy opened this issue Jun 28, 2017 · 6 comments
Closed

PANIC on Intellisense #1058

ardan-bkennedy opened this issue Jun 28, 2017 · 6 comments

Comments

@ardan-bkennedy
Copy link

Operating System
maxOS Sierra v 10.12.5 (16F73)

Go
go1.9beta1 darwin/amd64

I downloaded a new version of gocode
go get -u github.com/nsf/gocode

When I use intellisense all I see is "PANIC"

Not sure if there something else I need to update?

@ramya-rao-a
Copy link
Contributor

gocode needs a rebuild after updating Go version.

Just to be on the safe side, you can run Go: Install/Update Tools which will update all the Go tools that the Go extension depends on

We have #797 to track automatic updating of the said tools.

I have a plan in mind for this. Will look into it for the next update of the Go extension.

Now that Go 1.9 beta is out, I am guessing many more people would see this issue.

@ghost
Copy link

ghost commented Jul 9, 2017

I had the exact same issue. And this did not solve my problem.
maxOS Sierra
go version go1.8 darwin/amd64

Update: I deleted files on github.com folder and bin folder and installed tools again. It worked this time. I guess update has an issue.

@ramya-rao-a
Copy link
Contributor

thanks for the update @atilkan and Happy Coding!

@ghost
Copy link

ghost commented Jul 10, 2017

Thanks to you @ramya-rao-a .

@mattwilson1024
Copy link

Just had the same problem. The following steps fixed it for me (the third step seemed necessary for me in addition to the above suggestions):

  • Run Go: Install/Update Tools in VSCode
  • cd ~/go/bin
  • ./gocode close

@mxygem
Copy link

mxygem commented Nov 27, 2017

I just ran through @mattwilson1024 's steps and I'm all set, also! Thanks!

@vscodebot vscodebot bot locked and limited conversation to collaborators Jan 23, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants