How to configure Grep Console for Intellij
11,789
Tick Enable multiline output
to color, also following lines which do not contain Exception
.
Author by
catch23
Updated on June 14, 2022Comments
-
catch23 almost 2 years
I installed plugin for colorful console output for Intellij - Grep Console
I configured it for good looking.
But I have some trouble for configuring output for Exceptions.
It filled only some part of thrown exception:
Here how looks configuration for this plugin:
It uses next regular expression for Exception:
[Exception].*
How to include rest part of thrown exception with regular expression?
-
catch23 almost 10 yearsIt doesn't work. I want to include for new color pattern rest of exception. As phrases
caused by ..
andat ...
-
Meo almost 10 yearsThis works:
[Exception| at|Caused by].*
- notice the tab character, if you just copypaste the begining of lines you want to match, then it will work fine. -
catch23 almost 10 yearsFor me it fills all text at console to
exception
color. I want to achieve fill not exception output to nice color looking. -
Malcolm Crum almost 8 yearsThis solution aggressively coloured more output than I expected. I fixed it by setting up a filter that caught INFO lines.