Skip to content

gbedardsice/ST2-Backbone.Marionette

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Backbone.Marionette completion and snippet package for Sublime Text 2

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published