Home  >  Article  >  Development Tools  >  Can Golang be developed with vscode?

Can Golang be developed with vscode?

Guanhui
GuanhuiOriginal
2020-06-10 13:22:003574browse

Can Golang be developed with vscode?

#Can Golang be developed with vscode?

Golang can be developed with vscode. How to use:

First open vscode and open the extension;

Can Golang be developed with vscode?

Then search Go, and click install to install the plug-in. If it is already installed, uninstall will be displayed;

Can Golang be developed with vscode?

Finally configure the editor and install the dependent libraries.

Can Golang be developed with vscode?

was modified to

{
 
    "go.buildOnSave": "workspace",
    "go.lintOnSave": "package",
    "go.vetOnSave": "package",
    "go.buildTags": "",
    "go.buildFlags": [],
    "go.lintFlags": [],
    "go.vetFlags": [],
    "go.coverOnSave": false,
    "go.useCodeSnippetsOnFunctionSuggest": false,
    "go.formatOnSave": true,
    "go.formatTool": "goreturns",
    "go.goroot": "D:/tool/go",
    "go.gopath": "E:/gowork",
    "go.gocodeAutoBuild": false,
    "files.autoSave":"onFocusChange",
    "launch": {
      "version": "0.2.0",
      "configurations": [
        {
          "name": "GoLaunch",
          "type": "go",
          "request": "launch",
          "mode": "debug",
          "remotePath": "",
          "port": 2345,
          "host": "127.0.0.1",
          "program": "${fileDirname}",
          "env": {
            "GOPATH":"E:/gowork"
          },
          "args": [],
          "showLog": true
        }
      ]
    }
  }  

Recommended tutorial: "vscode introductory tutorial"

The above is the detailed content of Can Golang be developed with vscode?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn