HTML Features

angelozerr edited this page Nov 7, 2015 · 16 revisions

Syntax Coloring

Highlight AngularJS directive and EL:

HTML Syntax Coloring

Directives management

Please read HTML directives for more features.

Native Directive

Completions

Completion for directive name :

Completion for directive name

Hover

Hover for directive name

Custom Directive

Completions

Completion for custom directive name :

Completion for custom directive name

Hyperlink

Hyperlink for custom directive name :

Hyperlink for custom directive name

Module management

For module management, you need to configure tern server.

Completions

Completion for modules (declared in an external JS) :

Completion for module

Hover

Hover for module

Hyperlink

Hyperlink for module

Controller management

For controller management, you need to configure tern server.

Completions

Completion for controllers (declared in an external JS) :

Completion for module

Hover

Hover for module

Hyperlink

Hyperlink for module

Angular Expression management

For angular expression management, you need to configure tern server.

Completions

Completion for angular expression :

Completion for expression

Typing

Auto close EL

Auto Close EL

Auto Close EL

Validation

Imagine you have this valid HTML Angular file (module and controller exists) :

Validation OK

If you fill ng-app with bad module, you will see this validation error :

Validation error with module

If you fill ng-app with existing module, but a controller which doesn't exists, you will see this validation error :

Validation error with controller

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.