Not getting error when component is not imported in react

Hi 
I am using `react material` .Previously when I whenever I copy and paste code it `webstrom` give underline error that it is not `imported` but now it is not showing any error 
I am not sure which setting I missed.

In screenshot `handleClickOpen` is showing eror .but `Dialog` ,'Button' are not imported but they are not giving error

0
5 comments

We intentionally decided not to mark the components as unresolved because there were quite a lot of patterns of defining the React components, especially in the component libraries that WebStorm couldn't recognize. So instead we decided to only show the missing import inspection for the cases where we knew where the component was defined.
We will review of how it all works now and will enable the inspection if it doesn't generate too much false positives.

Please vote for https://youtrack.jetbrains.com/issue/WEB-32549 to be notified on any progress with this feature

0

Till morning I am getting error when I didn't import the component  From morning this issue is coming .will i downgrade my version ? 

0

currently I am using 2018.2.2 webstrom will I downgrade my webstrom version to get this functionality 

0

Just checked - this works in the same way (no warnings) in 2017.3 and 2018.1.x. so i'm not sure what version you can downgrade to to make this work - seems it had never worked...

0

It was working in morning .I am not sure what happen after that ..:( I think i upgrade than that issue come

0

Please sign in to leave a comment.