Add space to comments

Can someone please tell me how to change the default comment style in webstorm?

Atm if I use cmd+/ to comment out a HTML line, I get

     <!--Comment-->

How do I add a space to the start and end of 'Comment' so that it becomes

     <!-- Comment -->
Also in JavaScript code, the default comment style is
//Comment
I would like to change it so it's
// Comment
3 comments
Comment actions Permalink

Any news of this ?

I have an eslint configuration that asks me for space inside my comments, phpstorm can answer a lot of eslint rules but not this one.

0
Comment actions Permalink

This feature for JS is shipped:

https://youtrack.jetbrains.com/issue/IDEA-141701

 

But no plans for HTML/CSS/Sass yet. Please vote for:

https://youtrack.jetbrains.com/issue/IDEA-167655

0

Please sign in to leave a comment.