How do I teach WebStorm 9 inspector to recognize Angular Material Design tags/attributes?

前端 未结 5 1179
萌比男神i
萌比男神i 2020-12-14 07:23

Currently, all my angular material HTML attributes are highlighted in yellow with WebStorm 9 (Mac OS X Yosemite) warning: \"Attribute [name] is not allowed here\".

<

5条回答
  •  轮回少年
    2020-12-14 07:40

    Currently I don't think that idea's AngularJS plugin understands angular-materials attribute extensions.

    It does understand the directives i.e. control click ...> and the directive (custom tag) is found.

    For now you will have to add the attributes af custom attributes in order to get a "green" page.

提交回复
热议问题