You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Would a configuration of the position and order of HTML attributes be possible?
Context: I've used XamlStyler (well, it's for XAML not HTML) for over a year in a previous job and found that it produced the most readable, compact and consistent markup format - for our team at least.
Now I'm missing that for HTML.
Here's XamlStyler's attribute reordering Wiki for a quick look.
Now, we would like some attributes to always appear on the line of the tag ("class" and "id").
Every following attribute would appear on a new line in the following order:
Angular bindings ("[*]")
built-in HTML attributes (i.e. not custom attributes)
specific custom attributes ("x-*")
All of this is currently configurable with XamlStyler (for XAML).
Description
Would a configuration of the position and order of HTML attributes be possible?
Context: I've used XamlStyler (well, it's for XAML not HTML) for over a year in a previous job and found that it produced the most readable, compact and consistent markup format - for our team at least.
Now I'm missing that for HTML.
Here's XamlStyler's attribute reordering Wiki for a quick look.
Input
E.g., if one writes HTML without thinking:
Now, we would like some attributes to always appear on the line of the tag ("class" and "id").
Every following attribute would appear on a new line in the following order:
All of this is currently configurable with XamlStyler (for XAML).
Expected Output
The formatted HTML would be:
Environment
OS: all
The text was updated successfully, but these errors were encountered: