ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Meteor Snippets

by mrtnbroder ALL

Sublime Text Snippets for the Meteor Framework

Details

Installs

  • Total 17K
  • Win 5K
  • Mac 7K
  • Linux 4K
Jan 16 Jan 15 Jan 14 Jan 13 Jan 12 Jan 11 Jan 10 Jan 9 Jan 8 Jan 7 Jan 6 Jan 5 Jan 4 Jan 3 Jan 2 Jan 1 Dec 31 Dec 30 Dec 29 Dec 28 Dec 27 Dec 26 Dec 25 Dec 24 Dec 23 Dec 22 Dec 21 Dec 20 Dec 19 Dec 18 Dec 17 Dec 16 Dec 15 Dec 14 Dec 13 Dec 12 Dec 11 Dec 10 Dec 9 Dec 8 Dec 7 Dec 6 Dec 5 Dec 4 Dec 3
Windows 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
Mac 0 0 0 0 0 0 0 0 0 0 0 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
Linux 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

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!