[jbosstools-issues] [JBoss JIRA] (JBIDE-14597) ng-app AngularJS

Alexey Kazakov (JIRA) jira-events at lists.jboss.org
Thu May 23 16:10:06 EDT 2013


    [ https://issues.jboss.org/browse/JBIDE-14597?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12776535#comment-12776535 ] 

Alexey Kazakov commented on JBIDE-14597:
----------------------------------------

Burr, you have to close and reopen the file after you changed the validation preferences. It's a known bug of Eclipse Web Tools HTML validation. I saw it somewhere in bugzilla.
There is two kind of validation actually:
1. Builder validation. It works when you saved the changed file and the project is being built. It creates permanent problem markers which you can see in Problems View.
2. As-you-type validation. It works when you typing w/o saving the file. It creates temporary annotations for the editor only.
So both validators works independently. It's a bug.
Another consequence of this bug is that you see two identical problem messages when you move you mouse over the problem in the editor. One message from each validator.

We solved the same problem for our as-you-type validation (CDI, JSF) but this one is not our code. It's Eclipse WTP.
                
> ng-app AngularJS
> ----------------
>
>                 Key: JBIDE-14597
>                 URL: https://issues.jboss.org/browse/JBIDE-14597
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: jsp/jsf/xml/html source editing, upstream
>            Reporter: Burr Sutter
>            Assignee: Alexey Kazakov
>             Fix For: 4.1.0.Beta2
>
>         Attachments: 2013-05-23_0752.png, 2013-05-23_1548.png, html5_demo.fsh, Screen Shot 2013-05-23 at 3.51.53 PM.png
>
>
> Warning: 
> Undefined attribute name (ng-app).
> Undefined attribute name (ng-controller).
> AngularJS is part of the new HTML5 Scaffolding feature in Forge 1.3
> forge install-plugin angularjs

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list