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.


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


Please sign in to leave a comment.