美文网首页
live template简单使用

live template简单使用

作者: 紫鹰 | 来源:发表于2022-04-24 15:55 被阅读0次

live template 是什么

开发工具中预定义的模版方法

在代码中使用指定关键字,生成对应的一堆模版代码,提升开发效率

如何使用

1.创建(以adapter为例子)

image-20220424154223248.png

2.设置模版方法、关键字、描述信息

image-20220424154543332.png

3.设置生效范围

image-20220424154844688.png

4.代码中使用

新建一个adapter,直接输入 关键字 skadapter,编辑器会根据提示写出模版代码

相关文章

网友评论

      本文标题:live template简单使用

      本文链接:https://www.haomeiwen.com/subject/yfbtyrtx.html