Reputation: 3660
Having problems to see the colors for logs on the IntelliJ Run Console (windows).
Through Cygwin run, I see logs have different colors, e.g:
On the IntelliJ run Console, same logs show without any colors:
Upvotes: 12
Views: 8526
Reputation: 47865
The GrepConsole plugin for IntelliJ supports something like this.
Here's some console output with no use of GrepConsole:
And here's the same console output again but with GrepConsole configured to render lines containing INFO
in green and lines containing ERROR
in red:
Here's the GrepConsole configuration:
Note: this does not exactly match what you asked for (highlighting a single word) but it's close and configuring GrepConsole for this behavour is very simple and GrepConsole also offers other useful features such a searching and filtering the console output.
Upvotes: 14