Golang 能用 vscode 开发吗?

Golang 能用 vscode 开发吗?

Golang 能用 vscode 开发吗?

Golang能用vscode进行开发,使用方法:

首先打开vscode,并打开扩展;

Golang 能用 vscode 开发吗?

立即学习go语言免费学习笔记(深入)”;

然后搜索Go,并点击install安装插件,如果已经安装了,会显示uninstall;

Golang 能用 vscode 开发吗?

最后配置编辑器,并将依赖库安装即可。

Golang 能用 vscode 开发吗?

修改为

{       "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         }       ]     }   }  

推荐教程:《vscode入门教程

以上就是Golang 能用

© 版权声明
THE END
喜欢就支持一下吧
点赞12 分享