Easiest way to Filter Eclipse Console Output text
Asked Answered
M

4

30

I'm asking this in relation to Flex Builder, but it might apply to Eclipse in general.

Trace statements in Flex Builder get sent to an Eclipse Output Console. What is the easiest way to filter this text on the Eclipse side?

Specifically, I'd like to be able to filter (ignore) lines by patterns.

I came across Logback, but it seems like overkill for this scenario. Is there no way to script something like this Eclipse itself?

Monicamonie answered 21/3, 2009 at 14:17 Comment(0)
M
21

Nothing specific to FlexBuilder. If you need such a functionality, you'd need to write an Eclipse plug-in.

Take a look at grep-console one to start off.

Microtome answered 22/3, 2009 at 17:20 Comment(3)
Grep Console worked for me, but the interface was not intuitive. Here is an article by the author how to use Grep Console: marian.schedenig.name/wp-content/static/grepconsole_userguideUnstring
extremely cryptic and non-intuitive.Sinker
I also found this article useful for filtering out everything except for specific lines: marian.schedenig.name/2012/08/12/…. Once you get a few working, you kinda "got it"Pop
C
5

Also GrepClipse may help. Also available on the Eclipse Martket.

Cotonou answered 15/8, 2012 at 8:53 Comment(0)
C
3

there is also Easy Console Grepper which opens up own console, easier at first then grep-console I think. Just define what You searching and it will show after console execution lines with searched expression.

Coranto answered 17/3, 2016 at 11:19 Comment(1)
It looks good, but I couldn't find a way how to change the Easy Console Grepper console font size.Perfumery
S
2

Please use Easy Console Grepper Eclipse Plugin as this is much easier and more intuitive than grep-console.

Sinker answered 10/6, 2019 at 20:59 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.