score:107

Accepted answer

i am successfully using this plugin for eclipse - ansiconsole

score:1

how about redirecting your output to a file and then just "tail -f" it? similar to this question: how can i make eclipse output std:out to a standard windows console

update: there are also some options listed at colorize logs in eclipse console. even if that doesn't work, it might be a starting point on how to swap out the standard console plugin.

score:14

this works brilliantly for me:

https://marketplace.eclipse.org/content/ansi-escape-console

simply install it and it automatically modifies the behaviour of eclipse's default console. (you can easily disable it with a button provided.)

i have used this for running code that outputs escape codes to modify the text colour. it behaves exactly as expected.

score:29

the target management terminal plugin for eclipse understands ansi escape characters, including color codes. i use it to run sbt with scalatest.

the original target management terminal plugin was designed to access remote systems. however, if you are running on linux, mac, or solaris but not windows, you can use the local terminal plugin which adds the ability to attach directly to a local shell or program.

installing the local terminal plugin automatically installs the target management terminal, so you just need to install the local terminal:

installing the local terminal plugin

  1. select help -> install new software... from the eclipse menu
  2. select the primary update site for you release of eclipse (e.g., ganymede, helios, indigo)
  3. select general tools -> local terminal
  4. follow normal procedure to install the plugin (click next, accept license, restart eclipse, etc).

if you are running on a platform not supported by the local terminal plugin, you can still use target management terminal with ssh or telnet:

installing the target management terminal plugin

  1. select help -> install new software... from the eclipse menu
  2. select the primary update site for you release of eclipse (e.g., ganymede, helios, indigo)
  3. select mobile and device development -> target management console
  4. follow normal procedure to install the plugin (click next, accept license, restart eclipse, etc).

using

  1. select window -> show view -> other from the eclipse menu
  2. select the terminal -> terminal view.
  3. click the green connect button in the view, and enter details to connect to your local system. if you installed the local terminal plugin, one of the options is "local program". by default, there is program defined for your local shell, but you can setup others. for example, i have an entry for sbt.

if you are more used to white-on-black, you might want to:

  1. open eclipse preferences
  2. select terminal
  3. check invert terminal colors

Related Query

More Query from same tag