Skip to content
Tab completions and snippets for Backbone.js (last updated @0.9.9) (JS + CS)
Find file
Latest commit a738e01 Dec 17, 2012 @tomasztunik Updated to 0.9.9
Failed to load latest commit information.
backbone.module.sublime-snippet First release of the package - 0.5.3 public API tab completions + sni… Jan 28, 2012
backbone.router.sublime-snippet First release of the package - 0.5.3 public API tab completions + sni… Jan 28, 2012
backbone.sublime-completions Updated to 0.9.9 Dec 17, 2012
backbone_coffee.collection.sublime-snippet CoffeeScript Support Added Mar 21, 2012
backbone_coffee.module.sublime-snippet CoffeeScript Support Added Mar 22, 2012

Backbone.js snippets and tab completions for Sublime Text 2

  • suports both JavaScript and CoffeScript
  • covers tab completions for full 0.9.9 public API
  • adds few convenience snippets

JavaScript Scope

bd - Module definition (requirejs)
bv - Backbone.View.extend({$1})
bm - Backbone.Model.extend({$1})
bc - Backbone.Collection.extend({$1})
br - Backbone.Router.extend({$1})

CoffeeScript Scope

bd - Module definition (requirejs)  
bv - Backbone.View  
bm - Backbone.Model  
bc - Backbone.Collection  
br - Backbone.Router  

Additional CoffeeScript Snippets available at dougrdotnet/Sublime-Text-2-Backbone.js-Coffee

Available from Sublime Package Control default channel or if you prefer to install manually just clone/copy to your Sublime Text 2 packages folder

Any requests to add more snippets? ideas to make it better? random requests? just ping me or open a pull request straight away.

CoffeScript support added by @dougrdotnet

Something went wrong with that request. Please try again.