Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Backbone.Marionette completion and snippet package for Sublime Text 2
JavaScript
branch: master

Merge pull request #2 from glenpike/master

Update snippets to use tabs where applicable
latest commit 81a07cce1e
@amokan authored
Failed to load latest commit information.
README.md removed "c" at the end of each of the coffeescript snippets
marionette.application.sublime-snippet cleanup on snippets
marionette.approuter.sublime-snippet Update snippets to use tabs where applicable
marionette.collectionview.sublime-snippet added snippets for collection view, composite view, controller and la…
marionette.compositeview.sublime-snippet added snippets for collection view, composite view, controller and la…
marionette.controller.sublime-snippet added snippets for collection view, composite view, controller and la…
marionette.itemview.sublime-snippet Update snippets to use tabs where applicable
marionette.layout.sublime-snippet Update snippets to use tabs where applicable
marionette.module.sublime-snippet Update snippets to use tabs where applicable
marionette.region.sublime-snippet Update snippets to use tabs where applicable
marionette.sublime-completions updated for Marionette 1.0.0-beta
marionette_coffee.application.sublime-snippet removed "c" at the end of each of the coffeescript snippets
marionette_coffee.approuter.sublime-snippet Update snippets to use tabs where applicable
marionette_coffee.collectionview.sublime-snippet removed "c" at the end of each of the coffeescript snippets
marionette_coffee.compositeview.sublime-snippet removed "c" at the end of each of the coffeescript snippets
marionette_coffee.controller.sublime-snippet removed "c" at the end of each of the coffeescript snippets
marionette_coffee.itemview.sublime-snippet removed "c" at the end of each of the coffeescript snippets
marionette_coffee.module.sublime-snippet Update snippets to use tabs where applicable
marionette_coffee.region.sublime-snippet Update snippets to use tabs where applicable

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.

Something went wrong with that request. Please try again.