Paulo Martins
Paulo Martins

Reputation: 18

WebStorm and Material 2 directives

I have an angular-cli project created with WebStorm with Material 2 Components and everything runs fine.

In WebStorm however i have an issue where some attribute directives are not found by the editor even though i'm importing everything correctly according to the documentation. I'm getting this problem with the matHeaderCellDef, matCellDef and matRowDef in particular:

enter image description here

This is on a newly created project using the code of the basic table described here. This happens on both the latest stable build and EAP (builds 172.3968.37 and 173.3727.2 respectively).

Another curious things I've noticed when trying to debug this issue: when importing anything from @angular/material in app.module.ts, i automatically get a lot of material directives on autocomplete even though they are on different modules. This does not seem to happen in the EAP build however.

Upvotes: 0

Views: 208

Answers (1)

lena
lena

Reputation: 93738

Logged as https://youtrack.jetbrains.com/issue/WEB-29827, please follow it for updatees

Upvotes: 1

Related Questions