vs code 中配置git go
{
"window.zoomLevel": 1,
"editor.fontSize": 15,
//"files.autoSave": "onFocusChange",
//"editor.fontWeight": "800",
// "go.goroot": "c:\\Go\\",
//"go.gopath": "D:\\go",
"gitlens.advanced.messages": {
"suppressFileNotUnderSourceControlWarning": true,
"suppressLineUncommittedWarning": true,
"suppressShowKeyBindingsNotice": true
},
"git.ignoreMissingGitWarning": true,
//"files.autoSave": "onFocusChange",
"files.encoding": "utf8",
"files.trimTrailingWhitespace": false,
"files.autoSaveDelay": 1000,
// 保存代码时自动编译
"go.buildOnSave":"off",
// 保存代码时优化
"go.lintOnSave":"package",
// 保存代码时检查潜在错误
"go.vetOnSave":"package",
// 保存代码时执行测试
"go.coverOnSave":false,
"go.useCodeSnippetsOnFunctionSuggest":true,
"go.useCodeSnippetsOnFunctionSuggestWithoutType":true,
// 代码格式化
"go.formatTool":"goreturns",
"go.gocodePackageLookupMode":"go",
"go.gotoSymbol.includeImports":true,
"go.docsTool":"godoc",
"go.inferGopath":true,
"go.useLanguageServer":true,
"go.autocompleteUnimportedPackages":true,
// go语言安装环境目录
"go.goroot":"C:\\Go\\",
// go语言工作目录
"go.gopath":"d:\\go",
"go.geocoderAutoBuild":false,
//"terminal.integrated.shell.windows": "C:\\Windows\\System32\\cmd.exe",
"explorer.confirmDelete": false,
//"liveServer.settings.donotShowInfoMsg": true,
"editor.wordWrapColumn": 3000,
"editor.wrappingIndent": "none",
"debug.allowBreakpointsEverywhere": true,
"debug.enableAllHovers": true,
"debug.inlineValues": true,
"debug.internalConsoleOptions": "neverOpen",
"debug.openDebug": "neverOpen",
"atomKeymap.promptV3Features": true,
"editor.multiCursorModifier": "ctrlCmd",
"editor.formatOnPaste": true,
"liveServer.settings.donotVerifyTags": true, // "workbench.colorTheme": "Monokai",
"workbench.iconTheme": "vscode-icons",
//"vsicons.dontShowNewVersionMessage": true,
"editor.suggestSelection": "first",
// "vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
"cSpell.userWords": [
"avue",
"bvue",
"goroot"
],
"terminal.integrated.rendererType": "dom",
"files.autoSave": "off",
"git.autoStash": true,
"git.path":"D:\\Git\\bin\\git.exe",
"gitlens.gitCommands.closeOnFocusOut": true,
// "terminal.integrated.shell.windows": "D:\\Git\\bin\\bash.exe", "terminal.integrated.shellArgs.windows": [
"d:\\Git\\bin\\bash.exe",
],
// "terminal.integrated.shell.windows": "c:\\Go\\bin\\go.exe"
"terminal.integrated.shell.windows": "C:\\Windows\\System32\\cmd.exe" }
{
vs code 中配置git go的更多相关文章
- Visual Studio Code中配置GO开发环境
在Visual Studio Code中配置GO开发环境 一.GO语言安装 详情查看:GO语言下载.安装.配置 二.GoLang插件介绍 对于Visual Studio Code开发工具,有一款优秀的 ...
- 如何在"Visual Studio Code"中使用" Git" 进行版本控制
如何在"Visual Studio Code"中使用" Git" 进行版本控制 本来认为此类教程,肯定是满网飞了.今天首次使用VS Code的Git功能,翻遍了 ...
- 在PHPstorm编辑器中配置git环境
在phpstorm编辑器中配置git环境,使得编程人员从git仓库中提交代码,克隆代码,,,更佳便利快捷,有利于提高项目的质量和效率 工具/原料 phpstorm编辑器,git客户端 win7或w ...
- Git(一):Eclipse中配置Git
在Eclipse中配置Git: 一,由于我使用的是新版本的eclipse j2ee 4.4默认集成git,所以不用手动安装git插件 二,Eclipse配置基础信息.Windows->Prefe ...
- vscode中配置git
vscode中配置git vscode 报错 未找到Git.请安装Git,或在"git.path" 设置中配置 第一步安装git git安装方法自行解决,提供git下载连接! gi ...
- VS Code中配置python版本以及Python多版本
VS Code中配置python版本VS Code十分方便配置python的版本:可以选在在本地setting.json或者全局setting.json文件中配置:python.pythonPath在 ...
- IDEA中配置Git,在Github上clone项目到IDEA
一.安装git 1.用homebrew安装git 运行以下命令安装 brew install git 默认的安装位置是 /usr/local/Cellar目录中(后面会用到) 二.在idea中配置Gi ...
- 在Visual Studio Code 中配置Python 中文乱码问题
在Visual Studio Code 中配置Python 中文乱码问题 方法一:直接代码修改字符集 添加前四行代码 import io import sys #改变标准输出的默认编码 sys.std ...
- 在Visual Studio Code中配置GO开发环境
一.GO语言安装 详情查看:GO语言下载.安装.配置 二.GoLang插件介绍 对于Visual Studio Code开发工具,有一款优秀的GoLang插件,它的主页为:https://github ...
随机推荐
- Noip2018Day1T3 赛道修建
题目链接 problem 给出一棵有边权的树.一条链的权值定义为该链所经过的边的边权值和.需要选出\(m\)条链,求\(m\)条链中权值最小的链的权值最大是多少. solution 首先显然二分. 然 ...
- php 交换值
使用异或和第三参数比较 结果比较:(其中之一) 异或:执行时间在 0.035-0.085之间 第三参数:执行时间在 0.035-0.050之间 结论:使用第三参数执行效率更高/更稳定
- PHP 高级面试题 - 如果没有 mb 系列函数,如何切割多字节字符串
需求 如果需要将可能含有中文的字符串进行拆分成数组,我们下面以 utf-8 编码为例. 解决方案一 我习惯的方法可能是: mb_internal_encoding("UTF-8") ...
- linux系列之常用运维命令整理笔录
目录 本博客记录工作中需要的linux运维命令,大学时候开始接触linux,会一些基本操作,可是都没有整理起来,加上是做开发,不做运维,有些命令忘记了,所以现在整理成博客,当然vi,文件操作等就不介绍 ...
- 知识图谱如何运用于RecomSys
将知识图谱作为辅助信息引入到推荐系统中可以有效地解决传统推荐系统存在的稀疏性和冷启动问题,近几年有很多研究人员在做相关的工作.目前,将知识图谱特征学习应用到推荐系统中主要通过三种方式——依次学习.联合 ...
- 查看某个进程的错误日志 ps axu 结合 grep -i
某台机器的flume报错,想要快速看到报错的内容,可以结合ps axu 和grep -i来实现. 1. ps axu |grep flume 可以看到flume的进程的启动位置. 2. 根据启动的位置 ...
- webwork遍历数组标签
WebWork中提供了一个<ww:iterator></ww:iterator>标签用于遍历数组. 01 如果数组中是普通类型,比如String.int等类型,可以通过标签中的 ...
- bash / powershell切换到脚本所在目录
切换工作目录到脚本所在目录 bash: #!/usr/bin/env sh cd $(dirname $0) #cd $(dirname $(readlink $0)) #soft link powe ...
- java基础第十九篇之Xml
1:xml的概述 1.1 xml是什么 标记语言:语言中出现了<a></a>的标签 a:HTML 超文本标记语言 (语法非常严格,不能随意的定义标签) b:XML 可扩展的标记 ...
- 8.智能快递柜SDK(联网型锁板)
1.智能快递柜(开篇) 2.智能快递柜(终端篇) 3.智能快递柜(通信篇-HTTP) 4.智能快递柜(通信篇-SOCKET) 5.智能快递柜(通信篇-Server程序) 6.智能快递柜(平台篇) 7. ...