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
Feb 5 Feb 4 Feb 3 Feb 2 Feb 1 Jan 31 Jan 30 Jan 29 Jan 28 Jan 27 Jan 26 Jan 25 Jan 24 Jan 23 Jan 22 Jan 21 Jan 20 Jan 19 Jan 18 Jan 17 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
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 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 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!