idea 中如何快速输入 console.log
自定义模板
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$);
效果