Meteor Snippets
Sublime Text Snippets for the Meteor Framework
Details
Installs
- Total 17K
- Win 5K
- Mac 7K
- Linux 4K
Dec 3 | Dec 2 | Dec 1 | Nov 30 | Nov 29 | Nov 28 | Nov 27 | Nov 26 | Nov 25 | Nov 24 | Nov 23 | Nov 22 | Nov 21 | Nov 20 | Nov 19 | Nov 18 | Nov 17 | Nov 16 | Nov 15 | Nov 14 | Nov 13 | Nov 12 | Nov 11 | Nov 10 | Nov 9 | Nov 8 | Nov 7 | Nov 6 | Nov 5 | Nov 4 | Nov 3 | Nov 2 | Nov 1 | Oct 31 | Oct 30 | Oct 29 | Oct 28 | Oct 27 | Oct 26 | Oct 25 | Oct 24 | Oct 23 | Oct 22 | Oct 21 | Oct 20 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Mac | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Linux | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Readme
- Source
- raw.githubusercontent.com
Meteor Snippets for Sublime Text 2/3
Some snippets for working with the Meteor framework (v1.0).
Includes snippets for
- CoffeeScript (✔)
- HTML (✔)
- JavaScript (✔) - Updated to 1.0
Installation
You can install them now via Package Control (search for “Meteor Snippets”) or manually via git:
OS X
git clone git://github.com/mrtnbroder/meteor-snippets.git "~/Library/Application Support/Sublime Text 2/Packages/Meteor Snippets"
Linux
git clone git://github.com/mrtnbroder/meteor-snippets.git "~/.config/sublime-text-2/Packages/Meteor Snippets"
Windows
git clone git://github.com/mrtnbroder/meteor-snippets.git "%userprofile%\AppData\Roaming\Sublime Text 2\Packages\Meteor Snippets"
Examples
tp
<template name='main'>
...
</template>
Meteor.render
Meteor.render(function () {
...
});
Meteor.publish
Meteor.publish('name', function () {
...
});
if
Error: language “handlebars” is not supported
{{#if guyIs 'male'}}
...
{{/if}}
ea
Error: language “handlebars” is not supported
{{#each player}}
...
{{/each}}
… and a whole lot more!
Todo's
- remap some tab triggers
- fix some snippets (missing semicolons, whitespace, tab behaviour etc.)
Contributing
Got some neat Meteor snippets you want to share? fork this repro and send me a pull request!