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,
    }
  • 相关阅读:
    layui 动态设置radio选中
    C# ling 查询 in 用法
    sql 去除小数点后面无效的0
    VUE 全局变量申明和取值
    SQL 逗号分隔将一行拆成多行
    devexpress 延长试用期 licenses.licx
    BugkuCTF-WEB4
    一招破解网页复制+网页上如何实现禁止复制粘贴
    JS的函数
    JS的数组
  • 原文地址:https://www.cnblogs.com/matd/p/10997571.html
Copyright © 2011-2022 走看看