美文网首页
vscode setting

vscode setting

作者: allenhaozi | 来源:发表于2022-10-27 09:52 被阅读0次
    {
     "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": "(//|#|<!--|;|/\\*|^|^\\s*(-|\\d+.))\\s*($TAGS)",
        "java.project.importOnFirstTimeStartup": "automatic",
       
        "editor.suggestSelection": "first",
        "vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
        "redhat.telemetry.enabled": true,
        "emmet.syntaxProfiles": {},
        "editor.cursorStyle": "line",
        "editor.insertSpaces": false,
        "editor.lineNumbers": "on",
        "editor.wordSeparators": "/\\()\"':,.;<>~!@#$%^&*|+=[]{}`?-",
        "editor.wordWrap": "off",
        "tabnine.experimentalAutoImports": true,
        "rust-client.enableMultiProjectSetup": null,
        "licenser.author": "4Paradigm",
        "licenser.customHeader": "/*  * Copyright 2021 4Paradigm  *  * Licensed under the Apache License, Version 2.0 (the \"License\");  * you may not use this file except in compliance with the License.  * You may obtain a copy of the License at  *  *   http://www.apache.org/licenses/LICENSE-2.0  *  * Unless required by applicable law or agreed to in writing, software  * distributed under the License is distributed on an \"AS IS\" BASIS,  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  * See the License for the specific language governing permissions and  * limitations under the License.  */",
        "licenser.customHeaderFile": "/*  * Copyright 2021 4Paradigm  *  * Licensed under the Apache License, Version 2.0 (the \"License\");  * you may not use this file except in compliance with the License.  * You may obtain a copy of the License at  *  *   http://www.apache.org/licenses/LICENSE-2.0  *  * Unless required by applicable law or agreed to in writing, software  * distributed under the License is distributed on an \"AS IS\" BASIS,  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  * See the License for the specific language governing permissions and  * limitations under the License.  */",
        "licenser.useSingleLineStyle": false,
        "explorer.confirmDragAndDrop": false,
        "explorer.confirmDelete": false,
        "terminal.integrated.cursorBlinking": true,
        "terminal.integrated.lineHeight": 1.2,
        "terminal.integrated.letterSpacing": 0.1,
        "terminal.integrated.fontSize": 18,
        "terminal.integrated.fontFamily": "Lucida Console",
        "terminal.integrated.inheritEnv": false,
        "licenser.disableAutoHeaderInsertion": true,
        "editor.formatOnType": true,
        "vsicons.dontShowNewVersionMessage": true,
        "intellicodeApiExamples.typescript.enabled": false,
    }
    

    相关文章

      网友评论

          本文标题:vscode setting

          本文链接:https://www.haomeiwen.com/subject/newxtdtx.html