atom-aurelia-snippets

Aurelia Snippets for Atom


Install
apm install atom-aurelia-snippets@0.0.10

Documentation

Aurelia Snippets for Atom

This extension for Atom adds snippets for Aurelia for TypeScript and Javascript.

Usage

Type part of a snippet, press enter, and the snippet unfolds.

TypeScript Snippets

configuration          // creates an Aurelia startup configuration
bootstrapper           // creates an Aurelia explicit startup configuration
feature                // add a feature
plugin                 // add a plugin
useView                // creates an Aurelia component
created, attached, bind, unbind          // Aurelia component lifecycle
inject                 // Aurelia declaring dependencies
lazy, all, optional    // Aurelia using resolvers contains
transient, singleton   // Aurelia explicit registration 
containerless          // Aurelia containerLess Templating
computed               // Aurelia declaring computed property dependencies
configureRouter        // creates an Aurelia basic route configuration class
canActivate, activate, canDeactivate, deactivate // Aurelia screen lifecycle
customAttribute        // Aurelia customAttribute Decorator
valueChanged           // creates an Aurelia valueChanged function
subscribe              // creates an Aurelia event aggregator subscribe function

JavaScript Snippets

configuration          // creates an Aurelia startup configuration
bootstrapper           // creates an Aurelia explicit startup configuration
feature                // add a feature
plugin                 // add a plugin
useView                // creates an Aurelia component
created, attached, bind, unbind          // Aurelia component lifecycle
inject                 // Aurelia declaring dependencies
lazy, all, optional    // Aurelia using resolvers contains
transient, singleton   // Aurelia explicit registration 
containerless          // Aurelia containerLess Templating
computed               // Aurelia declaring computed property dependencies
configureRouter        // creates an Aurelia basic route configuration class
canActivate, activate, canDeactivate, deactivate // Aurelia screen lifecycle
customAttribute        // Aurelia customAttribute Decorator
valueChanged           // creates an Aurelia valueChanged function
subscribe              // creates an Aurelia event aggregator subscribe function

Install

Go to Atom > Preferences... then search for Aurelia Snippets in Packages tab. Restart atom.

$ apm install atom-aurelia-snippets