akalongman / akalongman/sublimetext-codeformatter

BS4 formatter not expanding attributes to new line

Open
#248 7 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
772
Forks
128
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.