[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.platform] Filters & colors in Eclipse Console
|
Hello,
I have created a working Eclipse plugin which implements the
org.eclipse.debug.core.launchConfigurationTypes extension.
It works fine and I can run my customized java projects using the Run menu.
The eclipse console appears and everythings works fine. However, the output
logs from the JVM uses some sort of ANSI escape codes. I've been looking for
any useful extension point in the Eclipse API for parsing and enhancing the
color support without success. (org.eclipse.debug.ui.consoleColorProviders
can only change the color for standard streams and
org.eclipse.debug.ui.consoleLineTrackers cannot be used to send strings back
to the console)
I need to filter the outputs of the JVM so I can substitute the escape codes
and then I need a way to colorize the output of the console.
It seems this cannot be done simply... do you know some possible workaround
for this problem?
Is it possible to subclass and then substitute the ProcessConsole easily
from the debug plugin? Any ideas?
Thanks for your help.
J.