Skip to content

New and Noteworthy 0.6.0

angelozerr edited this page Oct 18, 2014 · 5 revisions

Here's a list of the most noteworthy things in the AngularJS Eclipse 0.6.0 release which is available since 05/10/2014. You can see issues for 0.6.0

Please read New and Noteworthy 0.6.0 of tern.java

PHP Features

0.6.0 provides AngularJS support for PHP (PDT). To use this support, you must :

AngularJS support for PHP

Angular Highlighting

AngularJS Eclipse supports highlighting inside PDT PHP Editor for Angular expression and directive like HTML editor :

PHP Angular Highlighting

To manage that it uses org.eclipse.wst.sse.ui.semanticHighlighting extension point. Here the extension point which manages directive highlight :

 <extension
       point="org.eclipse.wst.sse.ui.semanticHighlighting">
    <highlighting
          class="org.eclipse.angularjs.ui.style.DirectiveSemanticHighlighting"
          target="org.eclipse.php.core.phpsource"
          styleStringKey="directiveName">
    </highlighting>
 </extension>

Angular Completion

Like HTML, JSP editor, you benefit with Angular completion :

Angular Completion for PHP

Angular Hover

Like HTML, JSP editor, you benefit with Angular text hover :

AngularJS Hover for PHP

Angular Hyperlink

Like HTML, JSP editor, you benefit with Angular hyperlink :

AngularJS Hyperlink for PHP

Angular Validation

TODO implement that.

WTP WebResources

WTP HTML editor doesn't provides completion, hyperlink, hover, validation for CSS class names (/@class), Ids (/@id), images (img/@src), script (script/@src), styles link (link/@href). That's why WTP WebResources was created and I hope one day WTP Team will accept it.

AngularJS Eclipse update site gives you the capability to install WTP WebResources :

AngularJS Hyperlink for PHP

Completion for CSS Class name

Provides completion for WTP HTML editor for CSS className :

Class completion

Hyperlink for CSS Class name

Provides hyperlink for WTP HTML editor for CSS className :

Class hyperlink

Hover for CSS Class name

Provides text hover for WTP HTML editor for CSS className :

Class hover