akalongman / akalongman/sublimetext-codeformatter

BS4 formatter not expanding attributes to new line

Aperta
#248 7 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Python
Stelle
772
Fork
128
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.