August 19, 2008

Highlighting Eclipse console messages

I often need to configure my C/C++ project builds to give verbose output. This is required to let auto discovery mechanism work if you do not use a log file for it. In that case, it is really hard to find some kind of build messages (warning, error, etc.) from that mess.

Recently, I've started to use a plug-in called Grep Console. There are some compilers I use that error parsers don't work so I added my regular expressions to highlight error messages with a red background. That's really handy because Problems view does not show up anything or error for that special compiler.

That was just one usage scenario. If you have something printed to Eclipse console and you usually find yourself looking for a message on that mess, this plug-in might help you to find what you want in a short time.

1 comment:

Anonymous said...

Hi Burak Kulakli,
I am using AGR from TPTP (http://eclipse.org/tptp). For validating my test cases I need to get the text from console view and compare it with expected o/p to make the test pass.
I gone though the grep console, I feel you can help me in this case. Will you?
I have IViewPart object of the console view. By using this how we can get the console messages?

Kindly mail ur comments to the below mentioned mail address.

Thanks,
Ganeshraj.S

ganesh.vibrant@gmail.com