intellij-plugin-v4 icon indicating copy to clipboard operation
intellij-plugin-v4 copied to clipboard

Underline files with errors in project view

Open TysonMN opened this issue 2 years ago • 3 comments

If a java file contains an error, then its name in the project view is underlined in red (see GrammarSource in the screenshot below). This doesn't happen for ANTLR files (see GrammarGrammar.g4 in the screenshot below).

How can I get ANTLR files containing an error to be underlined in red in the project view? Is this a setting that already exists or is this something that requires a change to the plugin?

Screenshot 2023-04-05 at 10 22 52 AM

TysonMN avatar Apr 05 '23 15:04 TysonMN

IIRC it's a feature that needs to be added to the plugin.

bjansen avatar Apr 06 '23 08:04 bjansen

In that case, I think the next step is to find a link to documentation explaining how to add this feature. I looked for that before posting this issue but didn't find anything. Also helpful would be a link to the source code of a plugin that has this feature.

TysonMN avatar Apr 06 '23 11:04 TysonMN

Found it, it's pretty simple actually: https://intellij-support.jetbrains.com/hc/en-us/community/posts/360003382859-Highlight-a-file-with-errors-during-inspection

bjansen avatar Apr 06 '23 14:04 bjansen