akalongman / akalongman/sublimetext-codeformatter

BS4 formatter not expanding attributes to new line

未关闭
#248 7 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
772
派生
128
PR 合并指标
30 天内没有已合并 PR

描述

I have setup formatter for html as

```
"formatter_version": "bs4",
"format_on_save": true, // Format on save
"indent_size": 2, // indentation size
"expand_tags": true, //expand attributes to new line
```

But it does not expand attributes to new line.

PS: I can not use regex parser because regex parser automatically removes ":" character from tag's attribute's name. for eg `v-ref:key-name` is transformed to `v-ref="" name=""`

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。