[Solved] Inspector is not highligthing undefined variables
Hello,
I've recently updated from PHPStorm 2020.2 to 2020.3 and just realized the the code inspector is not highlighting undefined variables. Here is a demo:
I've checked my settings and it all seems ok to me:
Is there something I'm missing?
Thank you.
Regards,
Alex
Please sign in to leave a comment.
Any chance this file is a part of external libraries?
Please check if disabling Settings | Editor | Reader Mode helps.
Hello Eugene,
That did the trick. I disabled the 'Reader Mode' and all of the inspection start working. Thank you.
For a long time I was having this problem; disabling reader mode worked for me. However, I'm not looking at external libraries, but perhaps it's because I have multiple projects "attached" to my project pane, and that the file I'm looking at is not part of the root project but a different attached project.