akalongman / akalongman/sublimetext-codeformatter

BS4 formatter not expanding attributes to new line

Đang mở
#248 7 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Python
Star
772
Fork
128
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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=""`

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.