码迷,mamicode.com
首页 > 其他好文 > 详细

解决vscode无法提示golang的问题

时间:2018-07-06 01:40:08      阅读:1571      评论:0      收藏:0      [点我收藏+]

标签:tools   res   run   ref   ble   faq   trouble   ted   setting   

https://github.com/Microsoft/vscode-go/wiki/Go-with-VS-Code-FAQ-and-Troubleshooting

 

Q: Auto-completions stopped working. What do I do?

  • Run gocode close in a terminal and try again.
  • If it still doesnt work, run go get -u github.com/mdempsky/gocode to update the tool. If you use the go.toolsGopath setting, then set GOPATH to the value in that setting before running go get so that the tool is installed/updated in the right location
  • If it still doesnt work, run gocode -s -debug in a terminal and try again. Results from gocode will show up in the terminal. If you see expected results in the terminal, but not in VS Code, log an issue in the vscode-go repo, else log an issue in the gocode repo.

解决vscode无法提示golang的问题

标签:tools   res   run   ref   ble   faq   trouble   ted   setting   

原文地址:https://www.cnblogs.com/larryzeal/p/9270927.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!