Installing the Go locale visual Studio code plugin

Source: Internet
Author: User
Tags locale

When installing the visual Studio Code plugin, due to Google restrictions, when downloading the following plug-ins will be error:

go get -u -v github.com/nsf/gocode
go get -u -v github.com/rogpeppe/godef
go get -u -v github.com/golang/lint/golint
go get -u -v github.com/lukehoban/go-find-references
go get -u -v github.com/lukehoban/go-outline
go get -u -v sourcegraph.com/sqs/goreturns
go get -u -v golang.org/x/tools/cmd/gorename
go get -u -v github.com/tpng/gopkgs
go get -u -v github.com/newhook/go-symbols


Here's what to do if you bypass the blocking to get the appropriate plugin:


md %GOPATH%\src\github.com\golang
cd %GOPATH%\src\github.com\golang
git clone https://github.com/golang/tools.git tools
md %GOPATH%\src\golang.org\x\tools
xcopy /s /e %GOPATH%\src\github.com\golang\tools


The premise is to set the%gopath%.


You can refer to the following URL settings for visual Studio Code

Http://www.cnblogs.com/zsy/archive/2016/02/28/5223957.html

Installing the Go locale visual Studio code plugin

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.