GrepConsole icon indicating copy to clipboard operation
GrepConsole copied to clipboard

Support multiline for grep output

Open NamekMaster opened this issue 3 months ago • 0 comments

Is your feature request related to a problem? Please describe. When the grep output contains some java exception stack traces, it only display the first line.

Describe the solution you'd like Add an option to support multiline for grep output to display whole log message.

Additional context For example, I want to grep the log with text Caused by, it only displayed the matched one line.

Image

The stack traces are multiline as shown below: Image

I actually want to see the whole message of a log item even if the matched text is in the middle of the whole log message. Just like the multiline option in highlight settings.

Another example: Sometimes I want to filter logs by log level. But grep the text [ERROR ] only display the first line. This is a very useful function to quickly check log messages for a specific level.

NamekMaster avatar Nov 11 '25 07:11 NamekMaster