netbeans-angular2-code-templates - plugin detail

Code templates for Angular 2 in Netbeans. Templates exists for TypeScript and HTML.

NetBeans Plugin - netbeans-angular2-code-templates
Plugin owner: ChrisLE
Website: https://github.com/Chris2011/netbeans-angular2-code-templates
Added: 2016-06-12
License: MIT
Category: Web Applications
Downloaded: 2,033 times
Rating:
 0, by 0 users

Plugin Log Show log

Versions available

Download plugin   Download size: 0.01 MB   Last Update: 2017-01-29

This plugin is also available on the NetBeans Plugin Portal Update Center. Use 'Tools > Plugins' action from the NetBeans IDE main menu for convenient installation of this plugin


What's new in this version

- Fixed missing code templates inside TypeScript code completion

Verifications for NetBeans versions

8.2 verification PASSED See verification details
Download plugin   Download size: 0.01 MB   Last Update: 2016-06-12

This plugin is also available on the NetBeans Plugin Portal Update Center. Use 'Tools > Plugins' action from the NetBeans IDE main menu for convenient installation of this plugin


What's new in this version



Verifications for NetBeans versions

8.1 verification PASSED See verification details


Introduction

Angular 2 TypeScript Snippets for NetBeans

This extension for NetBeans adds snippets for Angular 2 for TypeScript and HTML. It is based on the Visual Studio Code implementation: https://github.com/johnpapa/vscode-angular2-snippets

TypeScript

HTML

Usage

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

TypeScript Snippets

  1. ng2-component-root - Angular 2 root App component
  2. ng2-bootstrap - Angular 2 bootstraping, for main.ts
  3. ng2-component - Angular 2 component
  4. ng2-pipe - Angular 2 pipe
  5. ng2-route-config - Angular 2 @RouteConfig
  6. ng2-route-path - Angular 2 routing path
  7. ng2-service - Angular 2 service
  8. ng2-subscribe - Angular 2 observable subscription

HTML Snippets

  • ng2-ngClass - Angular 2 ngClass snippet
  • ng2-ngFor - Angular 2 *ngFor snippet
  • ng2-ngIf - Angular 2 *ngIf snippet
  • ng2-ngModel - Angular 2 ngModel snippet
  • ng2-routerLink - Angular 2 routerLink snippet
  • ng2-ngStyle - Angular 2 ngStyle snippet
  • ng2-ngSwitch - Angular 2 ngSwitch snippet

How to install

Install the plugin.

Test it into a TypeScript or HTML file (Examples: typescript shortcut ng2-pipe + TAB => import { Pipe, PipeTransform..., html shortcut ng2-ngSwitch + TAB =>

[ You have to be logged in to be able to comment. ]

User Comments

  

I forgot

to request the verification for 8.2. Sry. I did this now.
Posted by ChrisLE on Oct 29, 2016
  

Update Please

What are the plans to update or verify that this works for Release 8.2.
Thanks!
Posted by williamrouse on Oct 04, 2016
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo