vscode配置


vscode config

extend
  • eslint
  • git history
  • goto node modules
  • markdown all in one
  • markdownlint
  • Markdown Table
vscode setting
{
    "window.zoomLevel": 0,
    "javascript.updateImportsOnFileMove.enabled": "always",
    "files.exclude": {
        "**/.deploy_git": true,
        "**/.vscode": true,
        "**/db.json": true,
        "**/node_modules": true,
        "**/public": true
    },
    // explorer
    "explorer.confirmDragAndDrop": false,
    "explorer.confirmDelete": false,
    // git
    "git.autofetch": true,
    "git.confirmSync": false,
    "git.enableSmartCommit": true,
    "git.autoStash": true,
    // workbench
    "workbench.colorTheme": "Visual Studio Dark",
    "workbench.activityBar.visible": true,
    "workbench.statusBar.visible": true,
    "workbench.startupEditor": "welcomePage",
    // editor
    "editor.tabSize": 2,
    "editor.suggestSelection": "first",
    "editor.minimap.enabled": true,
    "editor.renderWhitespace": "none",
    // html格式化
    "html.format.enable": false,
    // css 校验
    "css.validate": false,
    // 自动保存
    "files.autoSave": "afterDelay",
    // 保存格式化
    "editor.formatOnSave": true,
    // eslint设置
    "eslint.format.enable": true,
    "editor.codeActionsOnSave": {
        "source.fixAll": true,
        "source.fixAll.eslint": true,
        "source.fixAll.markdownlint": true
    },
}

  TOC