坏蛋格鲁坏蛋格鲁

【IDE】VS Code 设置内容示例


{
    // Workbench、Terminal
    "workbench.tree.indent": 24,
    "workbench.iconTheme": "vscode-icons",
    "workbench.tree.renderIndentGuides": "none",
    "workbench.colorTheme": "Tinacious Design (Light)",
    "workbench.editor.tabSizingFixedMaxWidth": 320,
    "workbench.editor.tabSizingFixedMinWidth": 90,
    "workbench.colorCustomizations": {
        "terminal.background": "#282C34",
        "terminal.foreground": "#ABB2BF",
        "terminalCursor.background": "#ABB2BF",
        "terminalCursor.foreground": "#ABB2BF",
        "terminal.ansiBlack": "#282C34",
        "terminal.ansiBlue": "#61AFEF",
        "terminal.ansiBrightBlack": "#545862",
        "terminal.ansiBrightBlue": "#61AFEF",
        "terminal.ansiBrightCyan": "#56B6C2",
        "terminal.ansiBrightGreen": "#98C379",
        "terminal.ansiBrightMagenta": "#C678DD",
        "terminal.ansiBrightRed": "#E06C75",
        "terminal.ansiBrightWhite": "#C8CCD4",
        "terminal.ansiBrightYellow": "#E5C07B",
        "terminal.ansiCyan": "#56B6C2",
        "terminal.ansiGreen": "#98C379",
        "terminal.ansiMagenta": "#C678DD",
        "terminal.ansiRed": "#E06C75",
        "terminal.ansiWhite": "#ABB2BF",
        "terminal.ansiYellow": "#E5C07B"
    },
    "terminal.integrated.fontSize": 18,
    "terminal.integrated.lineHeight": 1.4,
    "terminal.integrated.tabs.enabled": false,

    // Window
    "window.commandCenter": false,
    "chat.commandCenter.enabled": false,
    "window.menuBarVisibility": "toggle",
    "indenticator.showIndentGuide": false,
    "vsicons.dontShowNewVersionMessage": true,

    // Editor
    "editor.fontSize": 18,
    "editor.lineHeight": 1.8,
    "editor.padding.top": 4,
    "editor.padding.bottom": 4,
    "editor.quickSuggestions": {
        "other": "on",
        "strings": "on",
        "comments": "on"
    },
    "editor.tabCompletion": "on",
    "editor.linkedEditing": true,
    "editor.insertSpaces": false,
    "editor.indentSize": "tabSize",
    "editor.matchBrackets": "never",
    "editor.detectIndentation": false,
    "editor.selectionHighlight": false,
    "editor.guides.indentation": false,
    "editor.foldingImportsByDefault": true,
    "editor.scrollbar.horizontalScrollbarSize": 30,
    "editor.renderLineHighlightOnlyWhenFocus": true,
    "editor.defaultFormatter": "esbenp.prettier-vscode",
    "editor.guides.highlightActiveIndentation": false,
    "editor.fontFamily": "Consolas, 'Fira Code', 'MesloLGS NF', 'JetBrans Mono', 'Courier New', monospace",

    // Explicit Folding
    /* "editor.defaultFoldingRangeProvider": "zokugun.explicit-folding",
    "explicitFolding.rules": {
        "typescript": [
            {
                "begin": "{",
                "end": "}",
                "foldLastLine": true
            }
        ]
    }, */

    // Files
    "files.associations": {
        "*.css": "tailwindcss"
    },

    // Shortcut Menu Bar
    "ShortcutMenuBar.save": true,
    "ShortcutMenuBar.openFile": true,
    "ShortcutMenuBar.navigateBack": false,
    "ShortcutMenuBar.openFilesList": false,
    "ShortcutMenuBar.navigateForward": false,
    "ShortcutMenuBar.toggleActivityBar": true,

    // Trae
    "trae.codeCompletionPro": {
        "enableCodeCompletionPro": true,
        "enableTabKeyboardShortcuts": true
    },
    "trae.enableCodelens": {
        "enableInlineDocumentation": false,
        "enableInlineUnitTest": false,
        "enableInlineExplain": false
    },

    // Baidu Comate
    "baidu.comate.privateService": "",
    "baidu.comate.username": "冷秋云袭",
    "baidu.comate.license": "e153d436-264d-4b2d-867c-696d2b6a6e67",
    "baidu.comate.enableSecurityEnhancement": false,
    "baidu.comate.linePreferMode": "auto",
    "baidu.comate.beta": {
        "enableFullStackIntelligence": false,
        "enableSecurityIntelligence": false,
        "enableCompletionIntelligence": false,
        "enableDebugIntelligence": false
    },
    "baidu.comate.docstringOutputPosition": "sidebar",
    "baidu.comate.completionLength": "auto",
    "baidu.comate.enableCodelens": {
        "enableInlineDocstring": false,
        "enableInlineComment": false,
        "enableInlineUnitTest": false,
        "enableInlineSplit": false,
        "enableInlineOptimize": false,
        "enableInlineExplain": false,
        "enableInlineLog": false
    },

    // Tabnine
    "tabnine.experimentalAutoImports": true,

    // Tailwind Css
    "tailwindCSS.emmetCompletions": true,

    // Vue
    "vue.autoInsert.dotValue": true,
    "vue.format.style.initialIndent": true,
    "vue.format.script.initialIndent": true,

    // Javascript、Typescript
    "javascript.suggest.completeFunctionCalls": true,
    "typescript.suggest.completeFunctionCalls": true,
    "typescript.updateImportsOnFileMove.enabled": "always",
    "javascript.updateImportsOnFileMove.enabled": "always",

    // Prettier
    "prettier.tabWidth": 4,
    "prettier.useTabs": true,
    "prettier.arrowParens": "avoid",
    "prettier.bracketSameLine": true,
    "prettier.jsxSingleQuote": true,
    "prettier.semi": false,
    "prettier.singleQuote": true,
    "prettier.trailingComma": "none",
    "prettier.vueIndentScriptAndStyle": true,
    "prettier.useEditorConfig": false,
    "Prettier-SQL.tabSizeOverride": 4,

    // Database
    "database-client.autoSync": true,

    // Error Lens
    "errorLens.respectUpstreamEnabled": {
        "statusBar": true
    }
}
本原创文章未经允许不得转载 | 当前页面:坏蛋格鲁 » 【IDE】VS Code 设置内容示例

评论