美文网首页
VS Code 配置项

VS Code 配置项

作者: Tim_Lee | 来源:发表于2017-12-06 21:42 被阅读0次

-------- 以下是 2018.01.07 编辑内容 -----------------

{
  "sublimeTextKeymap.promptV3Features": true,
  "editor.multiCursorModifier": "ctrlCmd",
  "editor.snippetSuggestions": "bottom",
  "editor.formatOnPaste": true,
  "workbench.iconTheme": "material-icon-theme",
  "editor.tabSize": 2,
  "editor.fontFamily": "Monaco, Menlo",
  // "editor.fontWeight": "300",
  "editor.fontSize": 14,
  "files.associations": {
    "*.js": "javascriptreact"
  },
  "editor.matchBrackets": false,
  "emmet.syntaxProfiles": {
    "javascript": "jsx"
  },
  "prettier.singleQuote": true,
  "prettier.bracketSpacing": true,
  "prettier.printWidth": 80,
  "prettier.semi": false,
  "prettier.eslintIntegration": true,
  "prettier.arrowParens": "always",
  "explorer.confirmDragAndDrop": false,
  "workbench.startupEditor": "newUntitledFile",
  "explorer.confirmDelete": false,
  "emmet.triggerExpansionOnTab": true,
  "emmet.includeLanguages": {
    "javascript": "javascriptreact",
    "vue-html": "html",
    "plaintext": "jade"
  },
  "stylusSupremacy.insertBraces": false,
  "stylusSupremacy.insertColons": true,
  "stylusSupremacy.insertSemicolons": false,
  "eslint.validate": [
    "javascript",
    "javascriptreact",
    {
      "language": "vue",
      "autoFix": true
    }
  ],
  "editor.tabCompletion": true,
  // "vetur.format.defaultFormatter.js": "vscode-typescript",
  "editor.rulers": [
    80,
    100
  ],
  "material-icon-theme.showUpdateMessage": false,
}

---------------- 以下 2017.12.06 编辑内容 ------------

{
  "workbench.startupEditor": "newUntitledFile",
  "workbench.iconTheme": "material-icon-theme",
  "editor.fontSize": 15,
  "editor.fontFamily": "Monaco",
  "editor.tabSize": 2,
  "sublimeTextKeymap.promptV3Features": true,
  "editor.multiCursorModifier": "ctrlCmd",
  "editor.snippetSuggestions": "top",
  "editor.formatOnPaste": false,
  "editor.matchBrackets": false,
  "files.associations": {
    "*.jsx": "javascriptreact",
    "*.js": "javascriptreact"
  },
  "emmet.includeLanguages": {
    "javascript": "javascriptreact"
  },
  "emmet.triggerExpansionOnTab": true,
  "prettier.singleQuote": true,
  "explorer.confirmDragAndDrop": false,
  "explorer.confirmDelete": true,
  "extensions.ignoreRecommendations": true,
  "todohighlight.isEnable": true,
  "files.exclude": {
    "**/.idea": true
  },
  "prettier.eslintIntegration": true,
  "prettier.trailingComma": "all",
  "prettier.semi": false,
  "javascript.implicitProjectConfig.experimentalDecorators": true
}

  • "prettier.singleQuote": true,
    单引号

  • "prettier.eslintIntegration": true,
    prettier按照eslint约定的规范来格式化

  • "prettier.trailingComma": "all",
    所有的对象和数组最后一项的末尾都要写逗号

  • ·"prettier.semi": false,
    不要分号

  • "javascript.implicitProjectConfig.experimentalDecorators": true
    js中使用装饰器不会报错

相关文章

  • VS Code 配置项

    -------- 以下是 2018.01.07 编辑内容 ----------------- ----------...

  • VS Code Python运行环境配置

    安装python,VS CODE 然后,在VS CODE界面,打开“调试>>打开配置/添加配置” 其实就是配置la...

  • wsl 安装 Docker 与 Apollo

    准备工作 配置了 WSLg 安装 VS Code 在 VS Code 配置插件 Remote - WSL[http...

  • VS Code 运行html文件

    用VS Code编写html文件,想在VS Code中直接打开运行,配置如下: 配置tasks.json 打开VS...

  • VScode运行HTML文件

    用VS Code编写html文件,想在VS Code中直接打开运行,配置如下: 配置tasks.json 打开VS...

  • vscode+phpstudy2018构建php调试环境

    由于vs code开源和跨平台,而且插件很多,所以打算以后编写和调试php都用vs code。 配置vs code...

  • flutter 项目创建

    可以使用Android studio 新建flutter项目,或者VS code进行配置后也可开发flutter项...

  • Python+VS Code

    参考知乎配置 一、准备 安装Python3 安装VS Code 二、配置VS Code 1. flake8和yap...

  • 2020-04-26

    VS Code的安装与配置 Visual Studio Code(VS Code)是微软旗下的一个开源文本编辑器,...

  • Flutter总结,持续更新

    起步 安装 配置编辑器VS Code

网友评论

      本文标题:VS Code 配置项

      本文链接:https://www.haomeiwen.com/subject/opxrixtx.html