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
Please sign in to leave a comment.
Not currently possible. Please vote for https://youtrack.jetbrains.com/issue/WEB-14742
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.
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