vscode 配置

{
    "workbench.colorCustomizations": {
        "minimap.selectionHighlight": "#bbff00",
        "minimap.findMatchHighlight": "#ff0000",
        "editor.selectionBackground": "#135564",
        "editor.selectionHighlightBackground": "#135564",
        "editor.findMatchBackground": "#c9af3ca8", //Current SEARCH MATCH
        "editor.findMatchHighlightBackground": "#ff7b00a1" //Other SEARCH MATCHES
    },
    "git.enableSmartCommit": true,
    "explorer.confirmDelete": false,
    "explorer.confirmDragAndDrop": false,
    "git.ignoreMissingGitWarning": true,
    "git.autofetch": true,
    "workbench.view.alwaysShowHeaderActions": true,
    "workbench.editor.highlightModifiedTabs": true,
    "workbench.editor.revealIfOpen": true,
    "workbench.editor.tabCloseButton": "right",
    "go.gopath": "/home/golang",
    "go.testTimeout": "60s",
    "diffEditor.renderSideBySide": true,
    "go.goroot": "/usr/local/go",
    "go.toolsEnvVars": {
        "GOPROXY": "https://goproxy.io,direct"
    },
    "go.testFlags": [
        "-v",
        "-count=1"
    ],
    "go.autocompleteUnimportedPackages": true,
    "workbench.tree.renderIndentGuides": "none",
    "http.proxyStrictSSL": false,
    "go.toolsManagement.checkForUpdates": "proxy",
    "plantuml.exportMapFile": true,
    "plantuml.render": "PlantUMLServer",
    "plantuml.server": "https://www.plantuml.com/plantuml",
    "go.lintOnSave": "off",
    "go.vetOnSave": "off",
    "go.useLanguageServer": true,
    "go.languageServerFlags": [
        "-rpc.trace" // for more detailed debug logging
    ],
    "[go]": {
        "editor.formatOnSave": true,
        "editor.codeActionsOnSave": {
            "source.organizeImports": false,
        },
        // Optional: Disable snippets, as they conflict with completion ranking.
        "editor.snippetSuggestions": "none",
    },
    "[go.mod]": {
        "editor.formatOnSave": true,
        "editor.codeActionsOnSave": {
            "source.organizeImports": false,
        },
    },
    "gopls": {
        // Add parameter placeholders when completing a function.
        "usePlaceholders": true,
        // If true, enable additional analyses with staticcheck.
        // Warning: This will significantly increase memory usage.
        "staticcheck": false,
        "buildFlags": [
            "-tags=wireinject"
        ],
        "experimentalWorkspaceModule": true,
    },
    "goModGrapher.engine": "dot",
    "editor.formatOnSave": true,
    "remote.autoForwardPortsSource": "output",
    "search.searchEditor.reusePriorSearchConfiguration": true,
    "search.exclude": {
        "**/*_test.go": true
    },
    "go.addTags": {
        "transform": "camelcase"
    },
    "python.defaultInterpreterPath": "python2",
    "python.formatting.provider": "black",
    "editor.autoIndent": "advanced",
    "[json]": {
        "editor.quickSuggestions": {
            "strings": true
        },
        "editor.suggest.insertMode": "replace",
        "gitlens.codeLens.scopes": [
            "document"
        ]
    },
    "workbench.colorTheme": "Monokai Pro",
    "workbench.iconTheme": "Monokai Pro Icons",
    "oneDarkPro.editorTheme": "One Dark Pro Flat",
    "markdown.preview.fontSize": 16,
    "editor.fontSize": 16,
    "editor.renderWhitespace": "none",
    "editor.fontFamily": "Monaco, Monaco, 'Monaco', monospace",
}
原文地址:https://www.cnblogs.com/wangjq19920210/p/15479842.html