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

    安装 vetur

    {
      // 自动补全触发范围---双引号内的字符串也可以触发补全
      "editor.quickSuggestions": {
        "other": true,
        "comments": true,
        "strings": true
      },

      // 自动补全禁用自动补等号=

      "editor.suggest.snippetsPreventQuickSuggestions": false,

      // vue 格式化配置
      "vetur.format.defaultFormatterOptions": {
        "prettier": {
        "semi": false, // 禁用分号
        "singleQuote": true //string 使用单引号
        }
      },
      "vetur.format.defaultFormatter.js": "vscode-typescript",
      "vetur.format.defaultFormatter.ts": "vscode-typescript",
      "javascript.format.insertSpaceBeforeFunctionParenthesis": true,
      "typescript.format.insertSpaceBeforeFunctionParenthesis": true,
      "javascript.format.insertSpaceAfterConstructor": true
    }

     

  • 相关阅读:
    牛客题霸NC119题解
    牛客题霸NC105题解
    牛客题霸NC93题解
    牛客题霸NC88题解
    牛客题霸NC68题解
    牛客题霸NC45题解
    牛客题霸NC33题解
    牛客题霸NC15题解
    牛客题霸NC04题解
    牛客题霸反转链表题解
  • 原文地址:https://www.cnblogs.com/qinlongqiang/p/11519809.html
Copyright © 2011-2022 走看看