https://github.com/johnpapa/vscode-angular1-snippets
vscode-angular1-snippets
https://github.com/johnpapa/vscode-angular1-snippets
Last synced: 6 months ago
JSON representation
vscode-angular1-snippets
- Host: GitHub
- URL: https://github.com/johnpapa/vscode-angular1-snippets
- Owner: johnpapa
- License: mit
- Created: 2015-11-13T00:45:31.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2019-05-05T04:38:38.000Z (over 6 years ago)
- Last Synced: 2025-03-18T07:38:04.570Z (7 months ago)
- Size: 1.84 MB
- Stars: 41
- Watchers: 5
- Forks: 28
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
- Code of conduct: code_of_conduct/LICENSE
Awesome Lists containing this project
README
# Angular 1 JavaScript and TypeScript Snippets for VS Code
This extension for Visual Studio Code adds snippets for Angular 1 for JavaScript and TypeScript.

## Usage
Type part of a snippet, press `enter`, and the snippet unfolds.
JavaScript Snippets
```javascript
ng1component; // creates an Angular component
ng1controller; // creates an Angular controller
ng1directive; // creates an Angular directive
ng1factory; // creates an Angular factory
ng1module; // creates an Angular module
ng1service; // creates an Angular service
ng1filter; // creates an Angular filter
```TypeScript Snippets
```typescript
ng1controller; // creates an Angular controller
ng1service; // creates an Angular service
ng1module; // creates an Angular module
```Alternatively, press `Ctrl`+`Space` (Windows, Linux) or `Cmd`+`Space` (OSX) to activate snippets from within the editor.
## Installation
1. Install Visual Studio Code 0.10.1 or higher
2. Launch Code
3. From the command palette `Ctrl`-`Shift`-`P` (Windows, Linux) or `Cmd`-`Shift`-`P` (OSX)
4. Select `Install Extension`
5. Choose the extension
6. Reload Visual Studio Code