How to configure Grep Console for Intellij

11,789

Tick Enable multiline output to color, also following lines which do not contain Exception.

Share:
11,789
catch23
Author by

catch23

Updated on June 14, 2022

Comments

  • catch23
    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:

    enter image description here

    Here how looks configuration for this plugin:

    enter image description here

    It uses next regular expression for Exception:

    [Exception].*

    How to include rest part of thrown exception with regular expression?

  • catch23
    catch23 almost 10 years
    It doesn't work. I want to include for new color pattern rest of exception. As phrases caused by .. and at ...
  • Meo
    Meo almost 10 years
    This 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
    catch23 almost 10 years
    For me it fills all text at console to exception color. I want to achieve fill not exception output to nice color looking.
  • Malcolm Crum
    Malcolm Crum almost 8 years
    This solution aggressively coloured more output than I expected. I fixed it by setting up a filter that caught INFO lines.