Backbone JS Snippets
Now Updated for 1.3.3 release
This extension for Visual Studio Code adds snippets for Backbone JS. More Snippets will be coming soon just release.
Use Extension
Contributors
Hridoy
See the CHANGELOG for the latest changes
Usage
Its support both JavaScript and CoffeeScript
JavaScript
Core Module:
All snippets can be accessed by typing b*, where star is either:
c = for collection
m = for model
r = for router
e = for event
h = for history
u = for utility
s = for sync
Extra Module:
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
bd - Module definition (requirejs)
bv - Backbone.View
bm - Backbone.Model
bc - Backbone.Collection
br - Backbone.Router
Alternatively, press Ctrl
+Space
(Windows, Linux) or Cmd
+Space
(OSX) to activate snippets from within the editor.
Installation
- Install Visual Studio Code 1.10.0 or higher
- Launch Code
- From the command palette
Ctrl
-Shift
-P
(Windows, Linux) or Cmd
-Shift
-P
(OSX)
- Select
Install Extension
- Choose the extension
- Reload Visual Studio Code