• 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"
        
       
    }
    
           
        
    

      

    {

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

  • 相关阅读:
    jQuery选择器ID、CLASS、标签获取对象值、属性、设置css样式
    shell脚本,awk取奇数行与偶数行方法。
    shell脚本,awk取中间列的方法。
    shell脚本,每5个字符之间插入"|",行末不插入“|”。
    shell脚本,tee小工具的用法。
    shell脚本,逻辑结构题练习。
    shell脚本,实现奇数行等于偶数行。
    shell脚本,编程题练习。
    shell脚本,用awk实现替换文件里面的内容。
    shell脚本,awk替换{}里面的内容
  • 原文地址:https://www.cnblogs.com/dqh123/p/12067726.html
Copyright © 2020-2023  润新知