Arrange HTML attribute

If this is possible of course, but I do use PHP code style arrangement to order my method by name, can I do this on HTML code style (in WebStorm specifically) ?

What have i tried:

What I expect : the attribute inside tags ordered specifically like that

What it do : nothing, doesnt change anything

0
4 comments

This should work. Did you try Code > Rearrange Code? Also, what file type do you work with - HTML, PHP, or?

0
Avatar
Permanently deleted user

Hello!


HTML arrangement does not work if this setting is enabled.
Open HTML files as Handlebars.

 

But if I click on the tag in the file, then I can re-arrange from the context menu only in this line.

 

Any ideas on how to arrange the entire file with the handlebars setting enabled.

Please!

0

Code arrangement on reformatting is not supported for Handlebars, that's the issue

0
Avatar
Permanently deleted user

Thanks!

 

0

Please sign in to leave a comment.