VS Code powerful Golag editing environment

Source: Internet
Author: User
This is a creation in Article, where the information may have evolved or changed.

VS Code powerful Golag editing environment

Brief introduction

I now basically only use Vscode, Microsoft want to seriously do a thing, really is the quality of certification. Here is a Chinese manual, here I simply tell the story of my own experience

Used to develop Golang advantages

    1. Can be configured according to workspace configuration edit configuration, I can a project a gopath, prevent all projects to share gopath caused by the transition, some problems of the index, in workspace config You can do this completely

      {"go.gopath": "/home/ysy/work/lib1:/home/ysy/work/lib2:${workspaceRoot}"}
    2. Perfect support for tools such as Gocode,gofmt,godef, perfect completion, code indexing
    3. Super-expected go test support, directly help you to generate the button has wood, a little bit can go test!
    4. What problem, encounter any bug, only need 4/6 level English level, you go to mention AH

Plug - ins

I'll mention 2 of them here.

    1. Go Go language development after all
    2. Vscode icons to let the directory tree improve a grade

Configuration

Speak only two

"window.zoomLevel": 1, 高分屏下面看起来有点小,这个是调整缩放比例的"editor.fontSize": 13, 字体

Some of the common commands

ctrl  `         打开终端ctrl shift o    符号列表(函数列表)ctrl shift p    打开命令行ctrl alt \      编辑器切割

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.