sublime-tinker-tools

0.3.2 • Public • Published

sublime-tinker-tools

npm npm CircleCI David

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 Snippets

For 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

Package Sidebar

Install

npm i sublime-tinker-tools

Weekly Downloads

2

Version

0.3.2

License

MIT

Unpacked Size

12 kB

Total Files

10

Last publish

Collaborators

  • idleberg