vs code 中配置git go
2024-09-04 23:59:14
{
"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" }
{
"window.zoomLevel": ,
"editor.fontSize": ,
//"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": ,
// 保存代码时自动编译
"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": ,
"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"
}
{
"window.zoomLevel": ,
"editor.fontSize": ,
//"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": ,
// 保存代码时自动编译
"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": ,
"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"
}
最新文章
- XAF去掉View页面的编辑器
- 【linux】如何将Vim打造成一个成熟的IDE
- 夺命雷公狗TP下关联查询
- onAttachedToWindow()在整个Activity生命周期的位置及使用
- 用C#调用蓝牙编程
- 利用CMake生成动态或静态链接库工程
- 为Pythonic论坛添加一个“专题”功能(续)
- Android 之旅开始了!先自我了解下Android与Linux之间的关系
- Oracle WorkFlow(工作流)(一)
- Qwt 编译 配置 使用
- Zend studio快捷键使用
- oracle ORA-20011: Approximate NDV failed: ORA-29913: error in executing ODCIEXTTABLEOPEN callout
- 用CSS3/JS绘制自己想要的按钮
- poj1698
- Gradle Goodness: Task Output Annotations Create Directory Automatically
- 基于表单布局:分析过时的table结构与当下的div结构
- redis学习1(nosql)
- 第6条:在单次切片操作内,不要同时指定start、end和stride
- JQuery鼠标移动上去显示预览图
- P3746 [六省联考2017]组合数问题
热门文章
- poj 3069 Saruman's Army 贪心 题解《挑战程序设计竞赛》
- 2019-2020-1 20199305《Linux内核原理与分析》第二周作业
- 手动更新了packages.config Nuget配置文件,自动引用dll
- intellij idea从git检出代码并建立工程
- saltstack--史上最细致安装攻略!亲测无坑
- Saiku ui-settings接口404错误避免(二十九)
- js常用但是不容易记住的代码
- jwt工具类的封装
- 数据库——SQL-SERVER练习(5) 供应关系
- .NET MVC5简介(四)Filter和AuthorizeAttribute权限验证