zoukankan      html  css  js  c++  java
  • VS Code 编辑器配置备份

    新版本可以登录github账户备份设置。以下为老板本个人配置备份。

    安装插件:

    • atom one dark theme
    • atom one light theme
    • Chinese
    • css formatter
    • document this
    • ESLint
    • live server
    • open in browser
    • prettier -Code formatter
    • vetur
    • vue 2 Snippets

    安装字体:

    Fira Code

    编辑器配置文件

    {
      "javascript.format.semicolons": "remove",
      "typescript.format.semicolons": "remove",
      "prettier.semi": false,
      "prettier.singleQuote": true,
      "editor.defaultFormatter": "esbenp.prettier-vscode",
      "[javascript]": {
        "editor.defaultFormatter": "esbenp.prettier-vscode"
      },
      "editor.detectIndentation": false,
      "editor.tabSize": 2,
      "eslint.autoFixOnSave": true,
      "eslint.validate": [
        "javascript",
        "javascriptreact",
        {
          "language": "vue",
          "autoFix": true,
          "prettier.semi": false,
          "prettier.singleQuote": true,
        }
      ],
    
      "javascript.format.insertSpaceBeforeFunctionParenthesis": true,
      "vetur.format.defaultFormatter.html": "js-beautify-html",
      "vetur.format.defaultFormatter.js": "vscode-typescript",
      "vetur.format.defaultFormatterOptions": {
        "js-beautify-html": {
          "wrap_attributes": "force-aligned"
        },
        "prettier": {
          "semi": false, 
          "singleQuote": true 
        }
      },
      "editor.fontFamily": "'Fira Code',Consolas, 'Courier New', monospace",
      "editor.fontSize": 16,
      "editor.lineHeight": 32,
      "workbench.colorTheme": "Atom One Dark"
    }
    
  • 相关阅读:
    HTML5新媒体元素
    概述
    (一)最小可行化应用
    JSON
    ajax的工作原理
    R语言学习笔记(四)
    R语言学习笔记(一)
    转:禅道的数据库结构
    转:bug的分类和等级
    转:如何定义 Bug 的优先级
  • 原文地址:https://www.cnblogs.com/inc904/p/12038908.html
Copyright © 2011-2022 走看看