制作sublime text3的自动代码模板

mac2026-08-17  2

1、tools->developer-》new snippet。

2、编辑<content>以及<tabTrigger>标签中内容。

3、保存为扩展名为:sublime-snippet的文件。

 

4、运行结果:

5、光标定义:

'${1:old_file_path}'

6、作用域和描述:

<scope>source.js</scope> <!--作用域--> <description>重命名文件</description> <!--模板描述-->

 

最新回复(0)