VS 코드 저장 시 자동 포맷 및 습관 설정

2265 단어
{
    "sublimeTextKeymap.promptV3Features": true,
    "editor.multiCursorModifier": "ctrlCmd",
    "editor.snippetSuggestions": "top",
    "editor.formatOnPaste": true,
    "editor.fontSize": 12,
    "editor.tabSize": 2,
    "editor.detectIndentation": false,
    "eslint.autoFixOnSave": true,
    "eslint.validate": [
        "javascript",
        "javascriptreact",
        {
            "language": "html",
            "autoFix": true
        },
        {
            "language": "vue",
            "autoFix": true
        }
    ],
    "workbench.panel.location": "bottom",
    "window.zoomLevel": 0,
    "emmet.triggerExpansionOnTab": true,
    "git.autofetch": true,
    "gitlens.advanced.messages": {
        "suppressCommitHasNoPreviousCommitWarning": false,
        "suppressCommitNotFoundWarning": false,
        "suppressFileNotUnderSourceControlWarning": false,
        "suppressGitVersionWarning": false,
        "suppressLineUncommittedWarning": false,
        "suppressNoRepositoryWarning": false,
        "suppressResultsExplorerNotice": false,
        "suppressShowKeyBindingsNotice": true
    },
    "editor.wordWrap": "on",
    "files.autoSave": "off", //              。    : "off"、"afterDelay"、"onFocusChange" (       )、"onWindowChange" (      )。      "afterDelay",   "files.autoSaveDelay"        。
    "files.associations": {
        "*.wpy": "vue",
        "*.cjson": "jsonc",
        "*.wxss": "css",
        "*.wxs": "javascript"
    },
    "gitlens.historyExplorer.enabled": true,
    "search.location": "sidebar",
    "workbench.colorTheme": "Monokai",
    "emmet.includeLanguages": {
        "wxml": "html"
    },
    "minapp-vscode.disableAutoConfig": true
}

  
전재 대상:https://www.cnblogs.com/jameBo/p/10334959.html

좋은 웹페이지 즐겨찾기