]
Victor Rubezhny reassigned ERT-4:
---------------------------------
Assignee: Konstantin Marmalyukov
Ignore undefined HTML attributes, elements validation with extension
point [EBZ#443097]
---------------------------------------------------------------------------------------
Key: ERT-4
URL:
https://issues.jboss.org/browse/ERT-4
Project: Eclipse Release Train
Issue Type: Task
Components: WTP Source Editing
Reporter: Max Rydahl Andersen
Assignee: Konstantin Marmalyukov
Labels: bzira, wst.html
Fix For: Neon (4.6) M6
I'm developping a plugin for AngularJS
https://github.com/angelozerr/angularjs-eclipse which is based on WTP.
I have implemented validation for Angular which ignores (ng-* attributes, etc) with Java
code without using your feature
https://bugs.eclipse.org/bugs/show_bug.cgi?id=415980
But there is some limitation and it should be fantastic if WTP provides an extension
point like this :
---------------------------------------------------
public interface IHTMLIgnoreValidator {
boolean shouldValidateAttributeName(IProject project, Element target, String
attrName);
boolean shouldValidateElementName((IProject project, Element target);
}
---------------------------------------------------
For more information please read
https://github.com/angelozerr/angularjs-eclipse/issues/80#issuecomment-53...
https://bugs.eclipse.org/bugs/show_bug.cgi?id=415980