如何在PHPStorm/WebStorm中创建CSS规则时自动添加注释

问题描述 投票:0回答:0

我想要实现的是:

  • 新建CSS规则时,添加一系列注释,例如:
.class_name {
   /* Comment one */
   /* Comment two */
   /* Comment three */
   /* and son on... */
}

我试着查看设置:

Settings > Editor > File and Code Templates
但什么都没有。

Settings > Editor > Code Style > Style Sheets > CSS
也没有。

如果无法通过

settings
实现,是否有任何方法可以创建键盘映射?

谢谢!

css ide coding-style phpstorm webstorm
© www.soinside.com 2019 - 2024. All rights reserved.