HiLightTool Updated

Hi

HiLightTool will now attempt to tidy up those stacktraces where lines got
split across several lines.

e.g.
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchTh
read.java:191)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
ad.java:144)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)

at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:130)

at java.awt.EventDispatchThread.run(EventDispatchThread.java:98)

into

at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.ja
va:191)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java
:144)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:130)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:98)

http://www.intellij.org/twiki/bin/view/Main/HiLightTool

regards

kevin


2 comments
Comment actions Permalink

Hello Kevin,

Did you try run this code? And paste Traces into window?

import java.io.IOException;

/**

*/
public class Example {
public static void main(String[] args) {
System.out.println("Please, paste stack trace from console:\n");
try {
while (System.in.read() > 0) {
}
} catch (IOException e) {
e.printStackTrace();
}
}
}


Just put Example into your project compile and run it.

Sorry, but your plugin too hard now. try to inprove it :))
For example you can create a realy plugin - ToolWindow, that can accept
paste of traces and show it in hi light mode. The tool window must have
buttons "clear" etc., also you must hilight classes of JDK, classes of your
project, classes of classpath of project, etc.

Good luck.

--
Alexey Efimov, Software Engineer
Sputnik Labs,
http://www.spklabs.com
"Kevin O'Regan" <koregan@baltimore.com> wrote in message
news:ajr44o$hd1$1@is.intellij.net...

Hi

>

HiLightTool will now attempt to tidy up those stacktraces where lines got
split across several lines.

>

e.g.
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchTh
read.java:191)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
ad.java:144)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)

>

at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:130)

>

at java.awt.EventDispatchThread.run(EventDispatchThread.java:98)

>

into

>

at

>
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.ja

va:191)
at

>
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java

:144)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:130)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:98)

>

http://www.intellij.org/twiki/bin/view/Main/HiLightTool

>

regards

>

kevin

>
>


0
Comment actions Permalink

What version on IDEA does this work with? I have IDEA 2.6, but can't figure how to add the HiLite group. In ERA build 644, the Tools-IDE Options is gone (?).

0

Please sign in to leave a comment.