Home > Development Tools > VSCode > body text

Can Golang be developed with vscode?

Guanhui
Release: 2020-07-02 14:34:41
Original
3662 people have browsed it

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
        }
      ]
    }
  }  
Copy after login

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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template