I want to use Aptana Studio 3 for developing jquery-mobile projects. Since jquery-mobile uses HTML5 I have to use tag attributes like "data-role="header"
which is OK for HTML5.
For example:
<div data-role="header"></div>
But Aptana gives me warnings like:
unknown attribute "data-role"
How can I fix this, or is it an Aptana Studio 3 bug?
I performed below and it resolved the problem.
In Preferences > Aptana Studio > Validation > HTML Tidy Validator > Attributes >> Proprietary attributes --> ignore
It more of a missing feature than a bug.
In Preferences > Aptana Studio > Validation you can define regular expression that match to errors/warnings you want to be ignored.
.*data-role.*
should do it.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With