当前位置 : 主页 > 网络编程 > JavaScript >

vscode 配置

来源:互联网 收集:自由互联 发布时间:2021-06-28
config .jsbeautifyrc 用于代码格式化{ "indent_size": 2, "indent_char": " ", "css": { "indent_size": 2 }, "indent_with_tabs": false, "eol": "\r\n", "preserve_newlines": true, "max_preserve_newlines": 1, "indent_handlebars": true, "wrap
config
.jsbeautifyrc 用于代码格式化
{
    "indent_size": 2,
    "indent_char": " ",
    "css": {
        "indent_size": 2
    },
    "indent_with_tabs": false,
    "eol": "\r\n",
    "preserve_newlines": true,
    "max_preserve_newlines": 1,
    "indent_handlebars": true,
    "wrap_line_length": 0
}
user setting 用于修复 beautify 破坏html 模版引擎格式
    "vim.otherModesKeyBindingsNonRecursive": [
        {
            "before": ["=", "="],
            "after": [],
            "commands": [
                {
                    "command": ":%s/} {/}\r{/g",
                    "args": []
                }
            ]
        }
    ]
上一篇:node学习
下一篇:mui原生绘制导航栏
网友评论