-
Notifications
You must be signed in to change notification settings - Fork 90
New and Noteworthy 0.5.0
Here's a list of the most noteworthy things in the AngularJS Eclipse 0.5.0 release which will be available for download on ?. You can see issues for 0.5.0
Please read New and Noteworthy 0.5.0 of tern.java
AngularJS Eclipse support highlighting for Angular expression and directive like HTML editor :
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.jst.jsp.core.jspsource"
styleStringKey="directiveName">
</highlighting>
</extension>
JSP validation (use JSP file with Angular) was developped like HTML validation (use HTML file with Angular). To enable JSP Angular Validation, you must go in your project properties Validation menu item and:
-
enable JSP Angular Content Validator
-
disable JSP Content Validator (otherwise you will have warnings for Angular attributes/elements)
After this configuration, JSP Angular Content Validator is enable to :
- ignore warning for HTML Angular attributes/elements (ng-app, custom directives, etc). Here a screenshot which shows you that ng-app is a known attribute and XXXX is an unkown attribute :
- displays errors for unknown module, controller
- support global validation. If you validate your JSP :
You will see marked errors :