views:

321

answers:

4

I have a txt log file. How to make it look in Eclipse editor just as if it was the console output [ eg links underlined ].

It is a bit sad plugins called "Log viewer" do not highlight links as Console Window does. That's the worst thing about such plugins.

A: 

you can do that with notepad++, why do you need to do it in eclipse ?

dada686
I have notepad++. Working hyper links from the log file is the most desired thing I'm trying to get. You can use it to jump quickly to your code.
EugeneP
+1  A: 

I have installed NTail, I think it is what you are looking for

chburd
+3  A: 

As chburd mentions, NTail is a good candidate (as I said in "Can eclipse monitor an arbitrary log file in the Console view?")

alt text

You can also define your own Console Viewer (see **this source**) to define your own hyperlink.

VonC
@VonC Tell me please, what are the rules NTail uses to handle stack trace hyperlinks? Eclipse hangs up when I try to follow a specific hyperlink. But others do work ok, I can follow other links and the source java file opens.
EugeneP
That is strange, because those hyperlinks are created based on a certain regex (xxx.java: line), so if the file exist in the current project, it should work.
VonC
A: 

Aptana (www.aptana.com) has a really nice tail view feature for Eclipse. Highly recommend it!

phill.nacelli