0

I have a Scala project and I use Scala-Eclipse-Plugin along with sbt. So far so good. But the problem is that sbt writes some ANSI escape sequences to the output (I might be wrong about this?).They appear pretty well when I invoke sbt from shell but inside eclipse, they appear like this:

[0m[[0minfo[0m] [34m[0m

what's wrong ?

Thomas Dickey
  • 51,086
  • 7
  • 70
  • 105
Ashkan Kh. Nazary
  • 21,844
  • 13
  • 44
  • 68

2 Answers2

3

See the discussion for "an eclipse console view that respects ansi color codes" I followed the suggestion of @thegreendroid and used ANSIConsole successfully.

Community
  • 1
  • 1
gunalmel
  • 411
  • 6
  • 7
1

The Eclipse console does not support ANSI escape sequences.

Thorbjørn Ravn Andersen
  • 73,784
  • 33
  • 194
  • 347
  • Any alternatives to the default console ? – Ashkan Kh. Nazary Dec 28 '10 at 12:13
  • Your own console window implemented in e.g. Swing where ANSI sequences are implemented. Alternatively create a new Console plugin based on the existing Console panel, where you add ANSI sequence parsing. THe latter would probably be really nice if contributed back to eclipse.org – Thorbjørn Ravn Andersen Dec 28 '10 at 12:39