How can I add custom html attribut description for Aptana?

I am working with a javascript Framework that wants custom attributs in the HTML... And Aptana shows this as invalid (underlined) with no description.. I'd like to add some of these, is it possible?

A quick fix to just stop the editor from displaying attribute warnings that I did was: Go to Windows > Preferences > Aptana Studio > Validation > HTML Tidy Validator > Attributes. Then set 'Proprietary Attributes' to ignore.

You can prefix AngularJS attributes and also directives with data- and they will stil work. For example:

<body data-ng-app="app" >
    <div data-ng-controller="TestController">
        <span test-directive>
            {{test}}     
        </span>                        
    </div>        
</body>

Here is JSFiddle to check this out.

Think that way Aptana will treat attributes as valid but you'll have to verify that.


To manually add atributes, please look at this answer.