Skip to content

devotis/sublime-angular-material-snippets

Repository files navigation

Sublime Angular Material snippets

A Sublime Text 2/3 snippet to generate Angular Material snippets for <md-button>, <md-input>, <md-icon>, etc

Collaborators are welcome to add and improve snippets for directives. All snippets should be based on the directives described in this documentation: https://material.angularjs.org/latest/#/

Install

Option 1: Package Control

On Mac press Cmd+Shift+P or on PC press Ctrl+Shift+P. Then type 'Install' then press enter to see a list of packages. Search for 'Angular Material Snippets' then press enter to install.

Option 2: Manual

Copy the files to your Packages directory.

Usage

Start typing <md- in html files and the autocomplete window opens or use Ctrl+Space to autocomplete.

##Snippets

See the directives directory for supported snippets.

  • md-autocomplete
  • md-button
  • md-card etc...

License

MIT Licensed.