How to highlight files in tree with errors (missing methods, classes etc)
In VSCode If i delete a method and its being referenced in another file, the file is highlighted red in the tree:
In PHPStorm all i get is a barely visible underline for the reference and no highlighting of the file in the tree:
1 - How can i make this underline more pronounced? To instead highlight the entire method like in VSCode?
2 - How can i get the file to show up red in the tree indicating that there's an error?
Sidenote, I found the “Problems” tab in PHPStorm but it shows nothing about that error and instead shows a bunch of false positives? I shows a bunch of errors on this one line that has no issue:
Please sign in to leave a comment.
Hi there,
“Settings/Preferences | Editor | Color Scheme | General | Errors and Warnings” – check and adjust the appropriate styles there.
It shows .. but for certain kind of errors only (for PHP that would be parser level, not inspections).
There are tickets to make it work with inspections as well, but estimates on when it might be implemented. Watch (star/vote/comment) these to get notified about any progress:
Switch to the File tab there (to show it for the currently focused file). Any better?
This might be some cache issue or even different file altogether.
False positives are caused by this bug:
https://youtrack.jetbrains.com/issue/IDEA-344500/Project-Errors-tab-continues-showing-outdated-project-errors-even-when-they-are-resolved