mihnita / ansi-econsole

Eclipse plugin that understands ANSI escape sequences to color the Eclipse console output.
http://www.mihai-nita.net/java/
Other
90 stars 25 forks source link

The plugin ignores any pre-existing formatting #32

Closed mihnita closed 4 years ago

mihnita commented 6 years ago

The plugin ignores any existing formatting info, assumes it all comes as a "clean slate"

But there are cases when the output already has formatting info. For instance when there is an exception there are links that are formatted.

Just doing this as the only instruction is enough to show the problem: int foo = 4 / 0;

With the plugin disabled the exception message has two links (to java.lang.ArithmeticException and to the line in code where the exception occurred), but with the plugin disabled the links are not visible (they are active, you can click and they work, but the formatting is gone)

mihnita commented 4 years ago

Fixed by version 1.4.0.202001252332 (kind of) It preserves links, and respects the standard output / standard error. So the exceptions will be fine.

But it will still override any other colors introduced by a conflicting plugin.