vscode setting

{
 "files.exclude": {
        "**/.classpath": true,
        "**/.project": true,
        "**/.settings": true,
        "**/.factorypath": true,
        "out": true,
        "dist": true,
        "**/*.pyc": true,
        ".nyc_output": true,
        "obj": true,
        "bin": true,
        "**/__pycache__": true,
        "**/node_modules": true,
        ".vscode-test": false,
        ".vscode test": false,
        "**/.mypy_cache/**": true
    },
    "search.exclude": {
        "out": true, // set this to false to include "out" folder in search results
        "dist": true,
        "**/node_modules": true,
        "coverage": true,
        "languageServer*/**": true,
        ".vscode-test": true,
        ".vscode test": true
    },
    "[python]": {
        "editor.detectIndentation": false,
        "editor.insertSpaces": true,
        "editor.tabSize": 4,
        "editor.formatOnSave": true,
        "editor.codeActionsOnSave": {
            "source.organizeImports": true
        },
        "editor.rulers": [
            80,
        ],
    },
    "python.linting.enabled": false,
    "python.formatting.provider": "black",
    "python.sortImports.args": ["--profile", "black"],
    "typescript.preferences.quoteStyle": "single",
    "editor.codeActionsOnSave": {
        "source.fixAll.eslint": true
    },
    "python.linting.pylintEnabled": false,
    "python.linting.flake8Enabled": true,
    "cucumberautocomplete.skipDocStringsFormat": true,
    "python.linting.flake8Args": [
        // Match what black does.
        "--max-line-length=88",
        "--ignore=E251,E501",
    ],

    "python.testing.promptToConfigure": false,
    "javascript.preferences.quoteStyle": "single",

    "editor.defaultFormatter": "esbenp.prettier-vscode",
    // linting configuration
    "python.languageServer": "Pylance",
    "python.analysis.completeFunctionParens": true,
    "python.analysis.extraPaths": [
        "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages"
    ],
    "python.condaPath": "/Users/mahao/miniconda3/condabin/conda",
    "python.autoComplete.extraPaths": [],
    "python.experiments.optInto": [],
    "python.analysis.indexing": false,
    // python setting end
    "typescript.preferences.importModuleSpecifier": "relative",
    "[typescript]": {
        "editor.defaultFormatter": "esbenp.prettier-vscode",
        "editor.formatOnSave": true
    },
    "[javascript]": {
        "editor.defaultFormatter": "esbenp.prettier-vscode",
        "editor.formatOnSave": true
    },
    "[JSON]": {
        "editor.defaultFormatter": "esbenp.prettier-vscode",
        "editor.formatOnSave": true
    },
    "[YAML]": {
        "editor.defaultFormatter": "esbenp.prettier-vscode",
        "editor.formatOnSave": true
    },
  
    "gopls": {
        "ui.completion.usePlaceholders": true,
        "completeUnimported": true
    },
    "git.suggestSmartCommit": false,
    // start go setting
    "go.gopath": "/Users/mahao/go",
    "go.goroot": "/Users/mahao/local/go",
    "go.alternateTools": {},
    "go.lintOnSave": "package",
    "go.vetOnSave": "workspace",
    "go.coverOnSave": false,
    "go.gotoSymbol.includeImports": true,
    "go.useCodeSnippetsOnFunctionSuggestWithoutType": true,
    "go.useCodeSnippetsOnFunctionSuggest": true,
    "go.autocompleteUnimportedPackages": true,
    "go.gocodePackageLookupMode": "go",
    "go.formatTool": "gofmt",
    "go.inferGopath": true,
    "go.docsTool": "gogetdoc",
    "go.toolsManagement.autoUpdate": true,
    "go.buildOnSave": "workspace",
    "go.useLanguageServer": true,
    "[go]": {
        "editor.insertSpaces": false,
        "editor.formatOnType": true,
        "editor.formatOnSave": true,
        "editor.codeActionsOnSave": {
            "source.organizeImports": true
        }
    },
    // end go setting
    "workbench.iconTheme": "material-icon-theme",
    "workbench.colorCustomizations": {
        "editorRuler.foreground": "#ff4081",
        "terminal.foreground": "#ADD8E6",
        "terminalCursor.background": "#81B5AC",
        "terminalCursor.foreground": "#81B5AC",
        "terminal.ansiBlack": "#031A16",
        "terminal.ansiBlue": "#96883E",
        "terminal.ansiBrightBlack": "#2B685E",
        "terminal.ansiBrightBlue": "#96883E",
        "terminal.ansiBrightCyan": "#963E4C",
        "terminal.ansiBrightGreen": "#883E96",
        "terminal.ansiBrightMagenta": "#4C963E",
        "terminal.ansiBrightRed": "#3E9688",
        "terminal.ansiBrightWhite": "#D2E7E4",
        "terminal.ansiBrightYellow": "#3E4C96",
        "terminal.ansiCyan": "#963E4C",
        "terminal.ansiGreen": "#883E96",
        "terminal.ansiMagenta": "#4C963E",
        "terminal.ansiRed": "#3E9688",
        "terminal.ansiWhite": "#81B5AC",
        "terminal.ansiYellow": "#3E4C96"
    },
    "vsicons.presets.foldersAllDefaultIcon": true,
    "vsicons.presets.tsOfficial": true,
    "editor.fontSize": 18,
    "workbench.colorTheme": "Winter is Coming (Dark Blue)",

    "[json]": {
        "editor.defaultFormatter": "esbenp.prettier-vscode",
        "editor.formatOnSave": true
    },
    "[yaml]": {
        "editor.defaultFormatter": "esbenp.prettier-vscode",
        "editor.formatOnSave": true
    },
    "[jsonc]": {
        "editor.defaultFormatter": "esbenp.prettier-vscode"
    },
    // python setting start


    "vsicons.presets.hideFolders": true,
    "vsicons.presets.jsOfficial": true,
    "vsicons.presets.hideExplorerArrows": true,
    "editor.fontFamily": "Source Code Pro",
    "cSpell.userWords": [
        "abcdefghijklmnopqrstuvwxyz",
        "ailake",
        "aios",
        "allenhaozi",
        "Alluxio",
        "alluxioctl",
        "alluxioruntime",
        "alog",
        "apisix",
        "batchv",
        "clientgoscheme",
        "cloudnative",
        "corev",
        "crmeta",
        "csicommon",
        "cstor",
        "datav",
        "Debugf",
        "deltalake",
        "Flink",
        "flinkworkload",
        "hackathon",
        "hdfs",
        "iamcorev",
        "Infof",
        "Jindo",
        "Kedro",
        "kratos",
        "Kube",
        "kubebuilder",
        "kubectl",
        "kubelet",
        "kubenative",
        "kubernetes",
        "Lakehouse",
        "logr",
        "metastore",
        "metav",
        "oamaddon",
        "oamaddonv",
        "oamcorev",
        "openaios",
        "openmetaxis",
        "pmem",
        "pmemcsi",
        "runtimev",
        "sageappv",
        "sageutils",
        "salesforecast",
        "skylarkclient",
        "skylarkcorev",
        "syncer",
        "Warnf",
        "Wrapf"
    ],
    "todohighlight.isEnable": true,
    "todohighlight.isCaseSensitive": true,
    "todohighlight.exclude": [
        "**/node_modules/**",
        "**/bower_components/**",
        "**/dist/**",
        "**/build/**",
        "**/.vscode/**",
        "**/.github/**",
        "**/_output/**",
        "**/*.min.*",
        "**/*.map",
        "**/.next/**"
    ],
    "todohighlight.include": [
        "**/*.js",
        "**/*.jsx",
        "**/*.ts",
        "**/*.tsx",
        "**/*.html",
        "**/*.php",
        "**/*.css",
        "**/*.scss",
        "**/*.go"
    ],
    "workbench.editorAssociations": {
        "*.ipynb": "jupyter.notebook.ipynb"
    },
    "todo-tree.general.tags": [
        "BUG",
        "HACK",
        "FIXME",
        "TODO",
        "XXX",
        "[ ]",
        "[x]"
    ],
    "todo-tree.regex.regex": "(//|#|
                    

你可能感兴趣的:(vscode setting)