Emmet HTML auto close tags comments on same line

Hello!

I configured my PHPStorm to automatically insert comments after emmet expand, like this:

But I would like that the comment was inserted on same line and don't create a new line, like this:

Is there any way to do that?

Thank you!

0
1 comment

Hi there,

AFAIK it must be your Code Style settings for HTML (the way code gets formatted after emmet snippet expansion).

https://youtrack.jetbrains.com/issue/WEB-12937 was about that (see references to initial ticket comments) .. so it must be there (cannot say for sure what the settings should be though).

0

Please sign in to leave a comment.