#Can Golang be developed with vscode?
Golang can be developed with vscode. How to use:
First open vscode and open the extension;
Then search Go, and click install to install the plug-in. If it is already installed, uninstall will be displayed;
Finally configure the editor and install the dependent libraries.
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!