Path autocompletion for attribute in custom tags

Is there a way to define a custom tag with an attribute containing a file path (i.e. "src" attribute) and to make webstorm autocompletion work within this attribute?

1 comment

you can inject File Reference language in attribute value: put cursor between quotes in attribute value, hit Alt+Enter, choose to inject language or references, choose File reference from the list

 

the corresponding language injection;

2

Please sign in to leave a comment.