vscode settings.json存档

Daotin 于 2023-07-13 发布 编辑
{
    "editor.minimap.renderCharacters": false,
    "editor.minimap.enabled": false,
    "search.followSymlinks": false,
    "workbench.startupEditor": "newUntitledFile",
    "editor.tabCompletion": "on",
    "editor.formatOnType": true,
    "editor.snippetSuggestions": "top",
    "workbench.statusBar.visible": true,
    "editor.fontFamily": "Maple Mono SC NF, Consolas",
    "json.format.enable": false,
    "editor.renderLineHighlight": "line",
    "editor.bracketPairColorization.enabled": true,
    "editor.guides.bracketPairs": "active",
    "terminal.integrated.fontFamily": "consolas",
    "javascript.updateImportsOnFileMove.enabled": "always",
    "emmet.includeLanguages": {
      "javascript": "javascriptreact"
    },
    "emmet.triggerExpansionOnTab": true,
    "typescript.updateImportsOnFileMove.enabled": "always",
    "editor.suggestSelection": "first",
    "files.autoSaveDelay": 60000,
    "editor.detectIndentation": false,
    "files.eol": "\n",
    "workbench.activityBar.visible": true,
    "editor.fontLigatures": true,
    "editor.roundedSelection": false,
    "editor.find.addExtraSpaceOnTop": false,
    "window.menuBarVisibility": "visible",
    "search.exclude": {
      "**/node_modules": true
    },
    "editor.cursorBlinking": "smooth",
    "editor.linkedEditing": true,
    "files.associations": { "*.vue": "vue" },
    "multiCommand.commands": [
      {
        "command": "workbench.action.files.save",
        "sequence": ["workbench.action.files.saveAll"]
      }
    ],
    "terminal.integrated.defaultProfile.windows": "Command Prompt",
    "editor.tabSize": 2,
    "git.enableSmartCommit": true,
    "git.confirmSync": false,
    "breadcrumbs.enabled": false,
    "files.exclude": {
      "/node_modules/": true
    },
    // "typescript.tsdk": "node_modules/typescript/lib",
    "editor.fontSize": 16,
    "eslint.validate": [
      "javascript",
      "javascriptreact",
      "vue",
      "typescript",
      "typescriptreact"
    ],
    "eslint.format.enable": true,
    "editor.codeActionsOnSave": {
      "source.fixAll": true
    },
    // 在快速修复菜单中显示打开的 lint 规则文档网页
    "eslint.codeAction.showDocumentation": {
      "enable": true
    },
  
    "security.workspace.trust.untrustedFiles": "open",
    "workbench.editor.splitInGroupLayout": "vertical",
    "workbench.colorCustomizations": {
      "tab.activeBackground": "#005e91",
      "tab.activeBorder": "#bde8ff",
      "tab.hoverBackground": "#005e91"
    },
    "i18n-ally.review.enabled": false,
    "i18n-ally.displayLanguage": "zh-CN",
    "gitlens.views.commits.showBranchComparison": false,
    "gitlens.views.commits.pullRequests.enabled": false,
    "gitlens.views.formats.commits.label": "${❰ tips ❱➤  } ${author} ",
    "gitlens.views.fileHistory.avatars": false,
  
    "[typescript]": {
      "editor.defaultFormatter": "esbenp.prettier-vscode"
    },
    "[javascript]": {
      "editor.defaultFormatter": "esbenp.prettier-vscode"
    },
    "[vue]": {
      "editor.defaultFormatter": "esbenp.prettier-vscode"
    },
    "commit-message-editor.staticTemplate": [
      "feat: Short description",
      "",
      "Message body",
      "",
      "Message footer"
    ],
    "commit-message-editor.dynamicTemplate": [
      "{type}{scope}: {subject}",
      "",
      "{footer}"
    ],
    "commit-message-editor.tokens": [
      {
        "label": "Type",
        "name": "type",
        "type": "enum",
        "options": [
          {
            "label": "build",
            "description": "影响构建打包,或外部依赖的修改,比如发布版本,对项目依赖的改动等"
          },
          {
            "label": "chore",
            "description": "其他不会修改src或者test的修改"
          },
          {
            "label": "ci",
            "description": "脚本变更(对CI配置文件或者脚本的修改)"
          },
          {
            "label": "docs",
            "description": "文档修改(添加或者更新文档)"
          },
          {
            "label": "feat",
            "description": ""
          },
          {
            "label": "fix",
            "description": ""
          },
          {
            "label": "perf",
            "description": "代码优化(比如提升性能、体验)"
          },
          {
            "label": "refactor",
            "description": "代码重构(即不是新增功能,也不是修改bug的代码变动,比如变量重命名)"
          },
          {
            "label": "revert",
            "description": "恢复到上一个版本"
          },
          {
            "label": "style",
            "description": "不影响代码功能的变动,不包括样式修改(比如去掉空格、改变缩进、增删分号等)"
          },
          {
            "label": "test",
            "description": "添加或者更新测试"
          },
          {
            "label": "ui",
            "value": "ui",
            "description": "修改css样式"
          },
          {
            "label": "i18n",
            "value": "i18n",
            "description": "国际化翻译相关"
          }
        ]
      },
      {
        "label": "Scope",
        "name": "scope",
        "type": "enum",
        "prefix": "(",
        "suffix": ")",
        "options": [
          {
            "label": "其他",
            "value": "其他",
            "description": ""
          },
          {
            "label": "设备管理",
            "value": "设备管理",
            "description": ""
          },
          {
            "label": "分组管理",
            "value": "分组管理",
            "description": ""
          },
          {
            "label": "应用管理",
            "value": "应用管理",
            "description": ""
          },
          {
            "label": "任务管理",
            "value": "任务管理",
            "description": ""
          },
          {
            "label": "远程协助",
            "value": "远程协助",
            "description": ""
          },
          {
            "label": "远程锁定",
            "value": "远程锁定",
            "description": ""
          },
          {
            "label": "应用超级权限",
            "value": "应用超级权限",
            "description": ""
          },
          {
            "label": "网络配置",
            "value": "网络配置",
            "description": ""
          }
        ]
      },
      {
        "label": "Subject",
        "name": "subject",
        "type": "text"
      },
      {
        "label": "Footer(Optional)",
        "name": "footer",
        "type": "text",
        "description": "JIRA:#xxx-123   禅道:#123"
      }
    ],
    "editor.formatOnSave": true,
    "git.ignoreRebaseWarning": true,
    "[html]": {
      "editor.defaultFormatter": "esbenp.prettier-vscode"
    },
    "gitlens.views.formats.commits.description": "${message}  -- ${committerDate}",
    "gitlens.views.commits.avatars": false,
    "todohighlight.include": [
      "**/*.js",
      "**/*.jsx",
      "**/*.ts",
      "**/*.tsx",
      "**/*.html",
      "**/*.css",
      "**/*.less",
      "**/*.vue"
    ],
    "todohighlight.isCaseSensitive": false,
    "todohighlight.keywords": ["TODO", "FIX"],
    "git.autofetch": true,
    "git.autofetchPeriod": 60,
    "[less]": {
      "editor.defaultFormatter": "esbenp.prettier-vscode"
    },
    "pasteImage.showFilePathConfirmInputBox": true,
    "pasteImage.path": "${currentFileDir}/images",
    "[markdown]": {
      "editor.defaultFormatter": "esbenp.prettier-vscode"
    },
    "git.openRepositoryInParentFolders": "never",
    "window.zoomLevel": 0,
    "editor.inlineSuggest.enabled": true
  }