coffeescript snippets for Visual Studio Code
Installation
- To install, press
F1 and select Extensions: Install Extensions and then search for and select coffeescript snippets .
or
ext install vscode-coffeescript-snippets
Snippets
Console
- dir, error, info, log, warn
Class
Conditionals
- if, if else, if else if, ternary operator, unless, switch case
Loops
- for in, for range, for range object, for in list, for each, for each by, range
JQuery
- document on ready
- event [ using $('#')]
- on click [ using $('#').on 'click' ]
Angular
- controller, service, factory, router (AngularUI Router example)
Thanks to
License
This software is released under the terms of the MIT license.
Diniremix
email: diniremix [at] gmail [dot] com
| |