@fen-ms/snippent-hub
代码片段生成工具
Last updated 4 months ago by fenms .
ISC · Original npm · Tarball · package.json
$ cnpm install @fen-ms/snippent-hub 
SYNC missed versions from official npm registry.

generator-snippent-cli

根据片段源文件生成不同编译器的代码片段,目前只支持 sublime 和 vscode

片段源文件

snippent.js,文件名即触发代码片段的单词

{
    body: // 模板字符串,存放代码片段的内容,多行代码时为了缩进格式正确,你可能需要这样写
`<fen-field
    label="$1"
/>`,
    scope: '', // 作用域,非必填,默认所有
    description: '' // 片段的描述,非必填
}

Current Tags

  • 1.0.0                                ...           latest (4 months ago)

1 Versions

  • 1.0.0                                ...           4 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 3
Last Day 0
Last Week 1
Last Month 2
Dependencies (5)
Dev Dependencies (1)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |