[jbosstools-issues] [JBoss JIRA] (JBIDE-16621) The quick fix for unknown attributes is not available if "Ignore specified attribute names" validation preference is unchecked
Alexey Kazakov (JIRA)
issues at jboss.org
Wed Feb 19 14:45:48 EST 2014
Alexey Kazakov created JBIDE-16621:
--------------------------------------
Summary: The quick fix for unknown attributes is not available if "Ignore specified attribute names" validation preference is unchecked
Key: JBIDE-16621
URL: https://issues.jboss.org/browse/JBIDE-16621
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: jsp/jsf/xml/html source editing, upstream
Affects Versions: 4.2.0.Beta1
Reporter: Alexey Kazakov
Assignee: Victor Rubezhny
Fix For: 4.2.0.Beta1
1. Create a project
2. Create the following html file:
{code}
<!doctype html>
<html ng-app>
</html>
{code}
3. Open the file with JBoss Tools HTML Editor
4. Assert: There is a problem "Undefined attribute name" for ng-app
5. Assert: Move the mouse over the problem and you see two quick fixes:
- Ignore ng-app attribute
- Ignore all ng-* attributes
6. Go to Preference->Web->Validation->
7. Check "Ignore specified attribute names"
8. Add "ng-app,ng-*" pattern
9. Uncheck "Ignore specified attribute names". Click OK.
10. Assert: There is still a problem "Undefined attribute name" for ng-app
11. Failure: Move the mouse over the problem but there are not quick fixes any more.
--
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