Supplying PHP Storm with a list of data attributes for code completion?

Is there any way to supply PHPStorm with a list of data attribtues to use for code completion in HTML?

A lot of frameworks use data attributes extensively, and it would be nice to have easy access to the attributes used.

Thanks,

2 comments
Comment actions Permalink

You can add all your data attributes to 'Custom HTML tag attributes' list  in Settings/Editor/Inspections/HTML/Unknown HTML tag attribute: attributes from  this list will be shown up in completion list and not reported as not  allowed

0

Please sign in to leave a comment.