自定义模板
https://majing.io/posts/10000009872000
WebStorm提供了Live Template的功能,可以在JavaScript模块下新建console.log()的快捷方式。
File -> Settings -> Editor -> Live Templates
在JavaScript下新建模板,如设定缩写为.log,模板如下:
console.log($END$);
效果
https://majing.io/posts/10000009872000
WebStorm提供了Live Template的功能,可以在JavaScript模块下新建console.log()的快捷方式。
File -> Settings -> Editor -> Live Templates
在JavaScript下新建模板,如设定缩写为.log,模板如下:
console.log($END$);
效果
本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。