Add a space before and after CSS comment?

Hello,

I was wondering if it is possible to add a space before and after a CSS comment.

Example:

/* This is a comment */

This is the current behavior when inserting a comment (Ctrl+/):

/*This is a comment*/

I have searched the settings and the code style section, but can't find anything to change this.

Any help is appreciated.

Thanks in advance!

评论操作 固定链接

Please try enabling Add spaces around block comments in Settings | Editor | Code Style | Style Sheets | CSS | Other

1

请先登录再写评论。