Skip to content

Commit 6e7aa66

Browse files
committed
Merge pull request johnpapa#276 from jmiazga/master
added a reference to a snippets package for Atom
2 parents fa43700 + 2c508e6 commit 6e7aa66

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

README.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2721,6 +2721,27 @@ Use file templates or snippets to help follow consistent styles and patterns. He
27212721
ng-f // creates an Angular factory
27222722
ng-m // creates an Angular module
27232723
```
2724+
2725+
### Atom
2726+
###### [Style [Y253](#style-y253)]
2727+
2728+
- AngularJS snippets that follow these styles and guidelines.
2729+
```
2730+
apm install angularjs-styleguide-snippets
2731+
```
2732+
or
2733+
- Open Atom, then open the Package Manager (Packages -> Settings View -> Install Packages/Themes)
2734+
- Search for the package 'angularjs-styleguide-snippets'
2735+
- Click 'Install' to install the package
2736+
2737+
- In a JavaScript file type these commands followed by a `TAB`
2738+
2739+
```javascript
2740+
ngcontroller // creates an Angular controller
2741+
ngdirective // creates an Angular directive
2742+
ngfactory // creates an Angular factory
2743+
ngmodule // creates an Angular module
2744+
```
27242745
27252746
**[Back to top](#table-of-contents)**
27262747

0 commit comments

Comments
 (0)