Skip to content
angelozerr edited this page Jul 15, 2016 · 2 revisions

HTML Editor

WTP HTML Editor is extended to support Angular2 features like coloration for Angular2 expression, completion, etc

Syntax Coloring

Angular2 syntax, like interpolation, DOM event binding, DOM property binding, known directives binding are highlighted:

HTML Editor Completion Template

Completion

DOM event/property binding

HTML Editor Completion DOM

Known directive

TODO

Custom directive

Not available for the moment. Waiting for implementation of TypeScript extensibility (which should be available on TypeScript 2.1.0).

Template (snippet)

Angular2 template for HTML editor like John Papa VSCode snippet are available:

HTML Editor Completion Template

Validation

Angular2 Eclipse consumes WTP extension of Neon to ignore errors and is able to validate Angular2 syntax.

DOM event/property binding

HTML Editor Completion DOM

Known directive

TODO

Custom directive

Not available for the moment. Waiting for implementation of TypeScript extensibility (which should be available on TypeScript 2.1.0).