vscode + golang setup

2017-06-12  本文已影响672人  llitfk_DockOne

Go for Visual Studio Code

One Step:

 (⌘+ Shift + P)
Go: Install/Update Tools

--完结--

 (⌘+P)
ext install Go

Install Go to Definition

go get -u -v github.com/rogpeppe/godef

Install show intention

gocode close
go get -u github.com/nsf/gocode

Install Debugging

brew install go-delve/delve/delve

Install Find Reference

go get -v golang.org/x/tools/cmd/guru

Install generates method & interface

go get -u -v github.com/josharian/impl

Enable func completion func parameters

"go.useCodeSnippetsOnFunctionSuggest": true
上一篇 下一篇

猜你喜欢

热点阅读