首页 > 编程语言 > vscode配置备份的操作代码
2021
05-23

vscode配置备份的操作代码

备份vscode配置



{
  "typescript.updateImportsOnFileMove.enabled": "always",
  "javascript.updateImportsOnFileMove.enabled": "always",
  "workbench.colorTheme": "Monokai",
  "workbench.editor.enablePreview": false,
  "editor.renderIndentGuides": false,
  "code-runner.runInTerminal": true,
  "editor.fontSize": 14,
  "editor.fontFamily": "Source Code Pro,Menlo, Monaco, 'Courier New', monospace",
  "editor.minimap.enabled": true,
  "editor.formatOnSave": true,
  "merge-conflict.autoNavigateNextConflict.enabled": true,
  "terminal.integrated.shell.osx": "/bin/zsh",
  "eslint.validate": [
    "javascript",
    "javascriptreact",
    {
      "language": "typescript",
      "autoFix": true
    },
    {
      "language": "typescriptreact",
      "autoFix": true
    },
    {
      "language": "vue",
      "autoFix": true
    },
    {
      "language": "html",
      "autoFix": true
    },
    {
      "language": "vue",
      "autoFix": true
    }
  ],
  "eslint.options": {
    "extensions": [".js", ".vue", ".ts", ".tsx"]
  },
  "eslint.enable": true,
  "editor.codeActionsOnSave": {
    "source.fixAll.eslint": false
  },
  "[typescript]": {
    "editor.defaultFormatter": "vscode.typescript-language-features"
  },
  "[typescriptreact]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
  },
  "[html]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
  },
  "[javascript]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
  },
  "[vue]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
  },
  "[less]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
  },
  "sync.gist": "7d9da7e86262c80dc44f9b0b48277aa3",
  "workbench.startupEditor": "welcomePage"
}

到此这篇关于vscode配置备份的操作代码的文章就介绍到这了,更多相关vscode配置备份内容请搜索自学编程网以前的文章或继续浏览下面的相关文章希望大家以后多多支持自学编程网!

编程技巧