0.3.2 • Published 6 years ago
sublime-tinker-tools v0.3.2
sublime-tinker-tools
CLI-tools to split or join Sublime Text snippets and completions
Installation
npm install -g sublime-tinker-tools
Usage
CLI
Once installed, two commands are available from the command-line: glue and scissors.
# Converts snippets into completions
$ glue *.sublime-snippets > result.sublime-completions
# Converts completions into snippets
$ scissors result.sublime-completions --output SnippetsFor a list of available option, please make use of the --help flag.
Motivation
Both, snippets and completions, have their own pros and cons.
| Feature | Snippets | Completions |
|---|---|---|
| Format | Plist | JSON |
| Description | Yes | Yes (but kinda hacky) |
| Many per File | No | Yes |
| Fuzzy Complete | No | Yes |
In many cases snippets are less annoying for the user, but can be painful to manage – which exactly is the strong point of completions.
License
This work is licensed under The MIT License
Donate
You are welcome to support this project using Flattr or Bitcoin 17CXJuPsmhuTzFV2k4RKYwpEHVjskJktRd