Backbone.Marionette completion and snippet package for Sublime Text 2
JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.md
marionette.application.sublime-snippet
marionette.approuter.sublime-snippet
marionette.collectionview.sublime-snippet
marionette.compositeview.sublime-snippet
marionette.controller.sublime-snippet added snippets for collection view, composite view, controller and la… Mar 28, 2013
marionette.itemview.sublime-snippet Update snippets to use tabs where applicable Oct 13, 2014
marionette.layout.sublime-snippet
marionette.module.sublime-snippet
marionette.region.sublime-snippet
marionette.sublime-completions
marionette_coffee.application.sublime-snippet removed "c" at the end of each of the coffeescript snippets Mar 29, 2013
marionette_coffee.approuter.sublime-snippet
marionette_coffee.collectionview.sublime-snippet removed "c" at the end of each of the coffeescript snippets Mar 29, 2013
marionette_coffee.compositeview.sublime-snippet removed "c" at the end of each of the coffeescript snippets Mar 29, 2013
marionette_coffee.controller.sublime-snippet
marionette_coffee.itemview.sublime-snippet
marionette_coffee.module.sublime-snippet
marionette_coffee.region.sublime-snippet

README.md

ST2-Backbone.Marionette

Backbone.Marionette snippets and tab completions for Sublime Text 2


updated: Mar 29, 2013

This package for Sublime Text 2 adds snippets for the Backbone.Marionette library.

The Backbone.Marionette package makes a great companion to Tomasz Tunik's Backbone.js ST2 package and borrows heavily from it as well.

Features

+ completions for Backbone.Marionette version 1.0.2
+ support for JavaScript and CoffeScript
+ some basic snippets (not thouroughly tested)

JavaScript Scope

bma - Marionette.Application
bmar - Marionette.AppRouter
bmm - Marionette.Application.Module
bmc - Marionette.Controller
bmiv - Marionette.ItemView
bmcv - Marionette.CollectionView
bmcmv - Marionette.CompositeView
bmr - Marionette addRegion()

CoffeeScript Scope

bma - Marionette.Application
bmar - Marionette.AppRouter
bmm - Marionette.Application.Module
bmc - Marionette.Controller
bmiv - Marionette.ItemView
bmcv - Marionette.CollectionView
bmcmv - Marionette.CompositeView
bmr - Marionette addRegion()

Installation

The easiest way to install is using Sublime Package Control. Updates are applied automatically if using this method.

If Sublime Package Control isn't your thing you can clone this repository into your ST2 packages directory.

git clone https://github.com/amokan/ST2-Backbone.Marionette

Issues/Pull Requests

This was a quick effort to get completions added for my own personal use. I created some snippets after looking into the Backbone.js ST2 package.

To be honest, I rarely use snippets so I know they are lacking here.

If you have any issues or want to complain about things I haven't added yet - drop me a line or submit a pull request. If you submit a pull request with a new snippet, please update this README with the shortcut(s).

Thank you.