• 比较好用的vscode vue 格式化配置.md


    个人觉得好用的vue配置

    建立在使用vetur插件的基础上

    {
        "path-intellisense.mappings": {
            "@": "${workspaceRoot}/src"
        },
        "editor.detectIndentation": false,
        "workbench.editor.enablePreview": false,
        "vetur.format.defaultFormatter.html": "js-beautify-html",
        "vetur.format.defaultFormatter.js": "vscode-typescript",
        "vetur.format.defaultFormatterOptions": {
            "js-beautify-html": {
                "wrap_attributes": "auto"
            },
            "prettyhtml": {
                "printWidth": 100,
                "singleQuote": false,
                "wrapAttributes": false,
                "sortAttributes": false
            }
        },
        "vetur.format.options.tabSize": 4,
        "vetur.format.options.useTabs": true,
        "vetur.format.scriptInitialIndent": true,
        "vetur.format.styleInitialIndent": true,
        "git.autofetch": true,
        "[vue]": {
            "editor.defaultFormatter": "octref.vetur"
        },
    }
    
    一个幽默的前端爱好者,记录下自己的心得体会
  • 相关阅读:
    HDU 5650 异或
    HDU 5646
    HDU 5645
    P2075 [NOIP2012T5]借教室 区间更新+二分查找
    HDU 5641
    读写分离
    linux执行cmd之一
    html2image
    挂载引起的权限问题
    如何防止sql注入
  • 原文地址:https://www.cnblogs.com/little-oil/p/15169541.html
Copyright © 2020-2023  润新知