json VS代码设置

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了json VS代码设置相关的知识,希望对你有一定的参考价值。

{
    "workbench.iconTheme": "vscode-icons",
    "workbench.colorTheme": "Solarized Light",
    "vsicons.projectDetection.disableDetect": true,
    "python.venvPath": "/Users/ahereza/.virtualenvs",
    "files.autoSave": "afterDelay",
    // Controls if quick suggestions should show up while typing
    "editor.quickSuggestions": {
        "other": true,
        "comments": false,
        "strings": false
    },
    "editor.fontSize": 14,
    "python.linting.pylintEnabled": true,
    "python.linting.pylintArgs": [
        "--load-plugins",
        "pylint_django"
    ],

    "files.exclude": {
        "**/.git": true,
        "**/.svn": true,
        "**/.hg": true,
        "**/CVS": true,
        "**/.DS_Store": true,
        "**/*.pyc": true,
        "**/.vscode": true,
        "**/__pycache__": true
    },

    // Controls if suggestions should be accepted on 'Enter' - in addition to 'Tab'. Helps to avoid ambiguity between inserting new lines or accepting suggestions. The value 'smart' means only accept a suggestion with Enter when it makes a textual change
    "editor.acceptSuggestionOnEnter": "on",

    // Controls the delay in ms after which quick suggestions will show up.
    "editor.quickSuggestionsDelay": 10,

    // Controls if suggestions should automatically show up when typing trigger characters
    "editor.suggestOnTriggerCharacters": true,

    // Enable word based suggestions
    "editor.wordBasedSuggestions": true,

    "editor.fontFamily": "Monaco",
    "window.zoomLevel": 0,
    "explorer.confirmDelete": false,
    "explorer.confirmDragAndDrop": false,
    "github.hosts": [
        {
            "host": "https://github.com",
            "username": "oauth",
            "token": "system"
        }
    ],
    "go.useCodeSnippetsOnFunctionSuggest": true,
    "go.useCodeSnippetsOnFunctionSuggestWithoutType": true,
    "editor.formatOnSave": true,
    "editor.formatOnPaste": true,
    "editor.formatOnType": true,
    "python.formatting.provider": "yapf",
    "python.formatting.yapfArgs": [
        "--style",
        "{based_on_style: pep8, indent_width: 4, spaces_before_comment: 4, split_before_logical_operator: true, allow_split_before_dict_value: false}"
    ],
    "workbench.editor.showTabs": false,
    "workbench.statusBar.visible": true,
    "workbench.activityBar.visible": true,
    "python.autoComplete.addBrackets": true,
    "python.linting.pylintUseMinimalCheckers": false,
}

以上是关于json VS代码设置的主要内容,如果未能解决你的问题,请参考以下文章

json VS代码设置

json VS代码设置

json vs代码斜体字体设置

json VS代码设置

json 我的VS代码设置

json VS代码设置