Hi!
I wrote a Sublime Text 3 plugin to take tabular data (think csv), and place each field in the placeholder of a snippet.
It works a lot like Xarg, but with Sublime Snippets instead of commands.
Usage example:
I’ve made it after receiving several csv files containing data that had to be updated in a database. The query was like this:
UPDATE table SET x = y WHERE x = z
With SnippetX you solve this with a Sublime snippet and a button click. The snippets content could be as follows:
UPDATE table SET $1 = $2 WHERE $1 = $3
SnippetX will fill the fields in based on the placeholders number. Placeholders can be out of order, used multiple times and contain default data (if the field contains no data then default is used, or the placeholder is left blank).
Regular snippets with this SnippetX as long as they have TabTrigger. Otherwise, there’s no special requirements. Snippets you use today will work with this plugin.
You can learn more about usage and see a demo from the github page. https://github.com/ColinRyan/SnippetX