1. 程式人生 > >GO學習日記(二)Visual Studio Code GO外掛配置

GO學習日記(二)Visual Studio Code GO外掛配置

下面是各個外掛的檔案路徑:

1、go-symbols:\src\github.com\acroca\go-symbols

2、guru:\src\golang.org\x\tools\cmd\guru

3、gorename::src\golang.org\x\tools\cmd\gorename

4、iml:\src\github.com\josharian\impl

5、golint: \src\github.com\golang\lint\golint

6、gotests:\src\github.com\cweill\gotests\gotests

7、gocode:\src\github.com\nsf\gocode

8、gopkgs:\src\github.com\tpng\gopkgs

9、go-outline:\src\github.com\ramya-rao-a\go-outline

10、gomodifytags:\src\github.com\fatih\gomodifytags

11、godef:\src\github.com\rogpeppe\godef

12、goreturns:\src\github.com\sqs\goreturns

13、dlv:\src\github.com\derekparker\delve\cmd\dlv

如果嫌棄VS Code下載速度太慢可以用CMD進行下載,直接在CMD裡面輸入下面的程式碼即可:

go get -u -v github.com/acroca/go-symbols  
-v後面的直接替換成上面路徑的,但是要刪除掉src並且把“\”變成“/”即可。
最後的結果就如下圖所示: