zoukankan      html  css  js  c++  java
  • 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",
    }
  • 相关阅读:
    Github 上热门的 Spring Boot 项目实战推荐
    深入理解建造者模式 ——组装复杂的实例
    别死写代码,这 25 条比涨工资都重要
    Spring Boot 使用 JWT 进行身份和权限验证
    秋招打怪升级之路:十面阿里,终获offer!
    一问带你区分清楚Authentication,Authorization以及Cookie、Session、Token
    适合新手入门Spring Security With JWT的Demo
    面试官:“谈谈Spring中都用到了那些设计模式?”。
    春夏秋冬又一春之Redis持久化
    Mysql锁机制简单了解一下
  • 原文地址:https://www.cnblogs.com/wangjq19920210/p/15479842.html
Copyright © 2011-2022 走看看