- Added a prompt for the debugging task for VS Code
- Added extensionKind workspace, to fix The extension cannot be installed into VSO
- Added
a-trackby
to create a trackby function in TypeScript for thengFor
- Removed
a-module-routing
and replaced witha-routes
. Routes will be defined in arouter.ts
file and no more Routing Module.
Changes
- Revise all providedIn snippets to prompt user for a value
- Update
a-http-interceptor-logging
for RxJS move (#107) - Update ngrx effects - wrap with return (#100)
- Various interceptor fixes
- Revised routing module to be part of regular module
- Added
a-preload-opt-in-strategy
as a custom preload strategy that allows choosing which routes to preload - Added
a-preload-network-strategy
as a custom preload strategy that preloads based on network connectivity
- Revised
a-http-interceptor
to prompt for interceptor name - Revised interceptors to use
@Injectable()
- Added
a-form
to create a form tag with ngSubmit and form attributes - Added
a-form-submit
to create a submit button for a form - Fixed
a-service
to create a service with injectable provided in root - Added
a-ng-container
to create<ng-container>
element - Added
a-ng-template
to create<ng-template>
element - Added
a-ng-content
to create<ng-content>
element - Updated dockerfile to use node 12
- Removed duplicate service snippet
- Refactored
a-service
to create a service with injectable provided in root
- Fixed typos in NgRx snippets for
createReducer
andcreateEffect
- Moved NgRx snippets into separate section of README
- Added NgRx snippets for the creator functions:
createAction
,createEffect
,createReducer
, andcreateSelector
- Updated
ngrx-data
snippets forNgRx
version 8 - Fixed display and description names for version 8
- Removed
a-ngrx-data-store-module
, replaced with newa-ngrx-store-module
anda-ngrx-data-entity-data-module-import
- Added "credits" to the Readme
- Updated
a-route-path-lazy
to use the newly supportedimport
syntax for lazy loading.
- Added
a-resolver
to create an Angular resolver
- Added "extensionKind": "ui"` to support remote development features in VS Code (see #91)
Added HTML snippet
a-formArrayName
Fixes
- Replaced some unknown invisible character with a real space
- Fixed escape characters on tasks.json
Added snippets or creating VS Code configurations for debugging
a-launch-chrome
launch/debug configuration for VS Code for Chromea-launch-edge
launch/debug configuration for VS Code for Edgea-task-start
create a task configuration for starting the Angular app for VS Code
Maintenance
- fixed
npm audit
issues withdevDepedencies
Added NgRx-Data snippets
- Create an NgRx Data store module
a-ngrx-data-store-module
- Create the entity metadata for NgRx Data
a-ngrx-data-entity-metadata
- Create a data service using NgRx data entities
a-ngrx-data-entity-collection-data-service
- Removed
a-module-routing
since the CLi does this for us and the new snippeta-module-with-routing
is something the CLI doesn't - Modified
a-module-with-routing
to addforChild
orforRoot
as a prompt
- Added
a-module-with-routing
to create an Angular module with routing combined into one file - Modified
a-route-path-404
to removepathMatchFull
, as it is no longer needed - Modified all services to default to using the
providedIn
syntax
- Added
a-injectable-providedin
- Updated the routing children snippet to allow replacement of the main path
- Docker Snippets
- Updated dockerfile snippet to look for server.js in the root by default. Works better out of the box with the CLI this way
-
Docker Snippets
- Renamed
docker-angular-multi-stage
todocker-angular-node-multi-stage
for an node.js Dockerfile with Angular
- Renamed
-
Added command to the Command Palette for adding a new Express server file
-
Added documentation to README for new snippets
-
Updated the
README.md
for v6 -
Updated version to v6, to match Angular
-
New Node.js Express snippet
- Snippet that is ideal for serving a simple node.js express app that serves the angular app
ex-node-server-simple
- Snippet that is ideal for serving a simple node.js express app that serves the angular app
-
Added
a-rxjs-import
to import rxjs features fromrxjs
(e.g. Observable, of, Subject)a-rxjs-operator-import
to import rxjs operators (e.g. map, tap, catchError)
-
Removed several RxJs snippets as RxJS v6 recommends importing directly from
rxjs
rx-add-operator
rx-add-observable
rx-behavior-subject
rx-subject
rx-replay-subject
rx-observable
-
Removed older Http library snippets in favor of HttpClient
a-http-get
a-service-http
- Fixed bug where dockerfile was pointing at wrong output folder
- Added TypeScript snippets
a-preload-strategy
- Added TypeScript snippets
a-route-path-with-children
a-route-params-subscribe
- Added multi-stage Docker file snippet
docker-angular-multi-stage
- update
a-routerLink
anda-routerLinkParam
to includerouterLinkActive
- Added HTML snippets
a-formControlName
a-formGroup
a-formGroupName
Thanks to https://github.com/doggy8088 for the PR and idea Thanks to johnpapa#75 for the reactive forms
- Fixed
a-prej
in HTML - Updated title of the extension
- Added
rx-operators
for Rx operators import - Updated images
- Updated to support Angular v5
- Updated some snippets to use lettable operators
a-http-interceptor-logging
a-service-httpclient
Thanks to https://github.com/mohammedzamakhan for the
rx-operators
PR.
- Merged PR to fix a bug with the
canActivateChild
snippet
- Removed Optional Theme
- Added Optional Theme
-
Added TypeScript snippets
a-http-interceptor-logging
, AngularHttpInterceptor
that logs traffica-http-interceptor-headers
, AngularHttpInterceptor
that sets headers
-
Updated TypeScript snippet
a-http-interceptor
to be an empty interceptor
- Added TypeScript snippets
a-http-interceptor
, AngularHttpInterceptor
forHttpClient
- Added TypeScript snippets
a-router-events
-
Added HTML snippets
a-ngFor-trackBy
-
Added TypeScript snippets
a-component-inline
- Fixes
a-service-httpclient
now imports correct module
- Added TypeScript snippets for HttpClient
a-httpclient-get
HttpClient.geta-service-httpclient
Service template for HttpClient
- Removed EventEmitter type from snippet, as it was implicit
- Fixed bug where event name and event type where mistakenly using the same snippet placeholder (#57)
-
Added JSON schema validation for Web App Manifest
-
Modified TypeScript snippets
- Removed
module.id
from@Component
- Removed
-
Fixed all HTML and TypeScript snippets to use positional placeholders
-
Added TypeScript snippets for RxJS
- RxJS Observable
- RxJS BehaviorSubject
- RxJS ReplaySubject
- RxJS Subject
- RxJS add operator
- RxJS add observable
-
Fixed all TypeScript snippets added positional prefix to all named variable/placeholders e.g. ${name} --> ${1:name}
-
Removed TypeScript snippets
- a-bootstrap
- Added TypeScript snippets for
- skip self constructor
- default route path
- 404 route path
-
Added TypeScript snippets for
- eager route path
- lazy route path
- output event and emitter
- routing guards
- service with Http
-
Added HTML snippets for
[class]
binding[style]
binding[routerLink]
with a parameter<select>
control
- Added
ngForAsync
snippet - Added
ngIfElse
snippet
- Change prefix from
ng2-
toa-
now that its just "Angular" - Added
json
pipe snippets