zoukankan      html  css  js  c++  java
  • vscode 插件 配置

    第一页

    第二页

    第三页

    settings.json配置

    {
      "editor.fontSize": 20,
      "files.autoSave": "off",
      "editor.formatOnSave": true,
      "editor.renderWhitespace": "all",
      "editor.tabSize": 2,
      "[html]": {
        "editor.defaultFormatter": "vscode.html-language-features"
      },
      "[css]": {
        "editor.defaultFormatter": "michelemelluso.code-beautifier"
      },
      //eslint 代码自动检查相关配置
      "eslint.enable": true,
      "eslint.run": "onType",
      "eslint.autoFixOnSave": true,
      "eslint.options": {
        "extensions": [".js", ".vue"]
      },
      "eslint.validate": [
        "javascriptreact",
        "javascript",
        {
          "language": "vue",
          "autoFix": true
        },
        "html",
        {
          "language": "html",
          "autoFix": true
        }
      ],
      "vetur.format.defaultFormatterOptions": {
        "prettier": {
          "semi": false,
          "singleQuote": true
        }
      },
      "files.associations": {
        "*.vue": "vue",
        "*.stylus": "stylus"
      },
      "git.enableSmartCommit": true,
      "explorer.confirmDelete": false,
      "stylusSupremacy.insertColons": false, // 是否插入冒号
      "stylusSupremacy.insertSemicolons": false, // 是否插入分好
      "stylusSupremacy.insertBraces": false, // 是否插入大括号
      "stylusSupremacy.insertNewLineAroundImports": false, // import之后是否换行
      "stylusSupremacy.insertNewLineAroundBlocks": false,
      "workbench.iconTheme": "vscode-icons", // 两个选择器中是否换行
    
      "languageStylus.useSeparator": true,
      "languageStylus.useBuiltinFunctions": true,
      "editor.colorDecorators": true,
      "html.autoClosingTags": true,
    }
  • 相关阅读:
    T-sql for xml path使用
    解决 SQL Server2012附加出错的问题
    安装应用程序 报“ 997 重叠 I/O 操作在进行中”错解决办法
    使用QQ互联登录应用
    monogdb windows环境下 安装及使用简单示例
    idle-实现清屏
    colorscheme-如何vim颜色风格
    android-从官网下拉源码(ubuntu)
    hq-源码编译
    文件目录进入终端
  • 原文地址:https://www.cnblogs.com/matd/p/10997571.html
Copyright © 2011-2022 走看看