
atom默认会安装这些语言插件

点击
alt
,然后点击左上角的file
,选择snippets...
,会自动打开一个snippets.cson
的文件,然后进行编辑
'.source.js':
'Console Log Tag':
'prefix': 'cj'
'body':'console.log(JSON.stringify($1, null, 4));'
这里的'.source.js':
就对应上图的source.js
,这里很重要!!!!!!


后面可以自定义下css,html,vue的代码片段
网友评论