Skip to main content
  • Create account
  • Log in
Eclipse Plugins, Bundles and Products - Eclipse Marketplace
  • My Marketplace
  • Add Content
  • More
      • Community

      • Marketplace
      • Events
      • Planet Eclipse
      • Newsletter
      • Videos
      • Blogs
      • Participate

      • Report a Bug
      • Forums
      • Mailing Lists
      • Wiki
      • IRC
      • Research
      • Eclipse IDE

      • Download
      • Learn More
      • Documentation
      • Getting Started / Support
      • How to Contribute
      • IDE and Tools
      • Newcomer Forum
  1. Home
  2. Marketplace
  3. Tools (1600)
  4. ANSI Escape in Console

ANSI Escape in Console

ANSI Escape in Console
256
26
Install

Drag to Install!

Drag to your running Eclipse* workspace.
*Requires Eclipse Marketplace Client

Add this URL to your Eclipse Installation to reach this solution's update site.

2019-03 (4.11)
2018-12 (4.10)
2018-09 (4.9)
Photon (4.8)
Oxygen (4.7)
Neon (4.6)
Mars (4.5)
Luna (4.4)
Kepler (4.3)
Juno (4.2, 3.8)
Previous to Juno (<=4.1)
2019-06 (4.12)
2019-09 (4.13)
2019-12 (4.14)

https://www.mihai-nita.net/eclipse

Learn more...

Details Group Tabs

Details

This Eclipse plugin interprets the ANSI escape sequences to color the console output. It works for output text with escape sequences directly from Java, Groovy, C/C++, Perl, Python, or any other Eclipse hosted language that outputs text to the standard output.

Categories:
  • General Purpose Tools,
  • IDE,
  • Tools
Tags:
  • ansi,
  • color,
  • console,
  • colour
Additional Details
Eclipse Versions: 
2019-03 (4.11), 2018-12 (4.10), 2018-09 (4.9), Photon (4.8), Oxygen (4.7), Neon (4.6), Mars (4.5), Luna (4.4), Kepler (4.3), Juno (4.2, 3.8), Previous to Juno (<=4.1), 2019-06 (4.12), 2019-09 (4.13), 2019-12 (4.14)
Platform Support: 
Windows, Mac, Linux/GTK
Organization Name: 
Mihai Nita
Date Created: 
Tue, 2014-04-01 01:25
Development Status: 
Production/Stable
License: 
Apache 2.0
Date Updated: 
Tue, 2019-10-22 11:36
Submitted by: 
Mihai Nita
Screenshots
Metrics
DateRankingInstallsClickthroughs
December 201983/755282 (0.23%)3
November 201995/900965 (0.18%)25
October 201989/8881149 (0.2%)34
September 201998/878940 (0.17%)27
August 201998/900871 (0.17%)29
July 201991/9111099 (0.19%)29
June 201991/919943 (0.18%)23
May 201981/9131208 (0.21%)33
April 201989/9231119 (0.19%)29
March 201993/9201161 (0.19%)55
February 2019149/924480 (0.09%)64
January 2019114/930825 (0.14%)37
View Data for all Listings
Errors

Unsuccessful Installs in the last 7 Days: 1

CountError Message
1Cannot continue the operation. There is another install operation in progress.
Download last 500 errors (CSV)
External Install Button

Marketplace Drag to Install button

By adding the following code below to your website you will be able to add an install button for ANSI Escape in Console.

HTML Code:


Markdown Syntax:



Output: Drag to your running Eclipse* workspace. *Requires Eclipse Marketplace Client
Saturday, December 7, 2019 - 11:59

Reviews Sign in to post reviews

mszwejkowski's picture

works beautifully!

Submitted by Michał Szwejkowski on Tue, 2019-11-12 16:32

Nothing to add. Works marvelous. If you observe washed colors in Windows (against vivid in the Windows 10 command prompt) you can switch color palette in preferences. I observe xterm as closest to these in command prompt

spaskewitz's picture

No longer displaying the StackTrace hyperlinks in blue

Submitted by Scott Paskewitz on Mon, 2019-06-24 09:48

I love the pluggin, works great, except for 1 small issue.

With ANSI Escape in Console enabled the blue underlining for the stack trace hyperlinks no longer show up.  You can still click on the text and it will take you to the spot in the code but new users do not know it is clickable because it is no longer blue or underlined like it is by default when ANSI Escape in Console is not enabled.

Is there a way to have the blue underlining still display properly via ANSI Escape in Console?  I tried to add ANSI formatting around it but that breaks the hyperlink. 

fmelot's picture

Essential but not working with latest version

Submitted by Alameda Lamelune on Wed, 2019-06-19 08:51

I'm using it since neon and it just essential. Log is really annoying to read it and it allow to glance at console.

With the latest version of eclipse (2019-03), I cannot change configuration for Ansi Console. In neon, a button at the right of disable/enable plugin opened configuration window. Do you know where is the configuration window ?

mnita's picture

Re: Essential but not working with latest version

Submitted by Mihai Nita on Wed, 2019-08-28 16:02

Over the last few days I've tested it on:

  • Eclipse 4.12 (2019-06)
  • Eclipse 4.11 (2019-03)
  • Eclipse 4.10 (2018-12)
  • Eclipse 4.9 (2018-09)
  • Eclipse 4.8 (Photon)

All of this combined with all platforms: Linux, Mac OS, and Windows
Did it on x64 platforms only, I don't have anything x32 anymore, sorry.

And it worked everywhere.
The enable / disable button is the same place as before, the top-right of the Console window, and I checked that it works.

I am quite sure I have no breaking changes, to it should (in theory) work all the way back to at least Neon (2016-06), but didn't test.

------------------------

"a button at the right of disable/enable plugin opened configuration window"

I never noticed this before. I do nothing in the plugin code to add such a button.
So I suspect that Eclipse was doing "some magic" to add it.
And maybe that "magic" was removed in 2019-something.

I have always accessed the configuration by going to Windows -- Preferences -- Ansi Console

Thank you,
Mihai

 

mmisingnamek75's picture

Enormously Useful!!!

Submitted by Missing name Mising name on Sun, 2019-06-09 09:14

This plugin is enormously useful. I really think it should be installed by default in every new Eclipse release!

spaskewitz's picture

No longer displaying the StackTrace hyperlinks in blue

Submitted by Scott Paskewitz on Tue, 2019-04-09 12:22

I love the pluggin, works great, except for 1 small issue.

With ANSI Escape in Console enabled the blue underlining for the stack trace hyperlinks no longer show up.  You can still click on the text and it will take you to the spot in the code but new users do not know it is clickable because it is no longer blue or underlined like it is by default when ANSI Escape in Console is not enabled.

Is there a way to have the blue underlining still display properly via ANSI Escape in Console?  I tried to add ANSI formatting around it but that breaks the hyperlink. 

cwolfv10's picture

Works great! Thanks for

Submitted by Christopher Wolf on Wed, 2019-02-20 16:57

Works great! Thanks for releasing and maintaining this!

mnita's picture

Re: Works great! Thanks for

Submitted by Mihai Nita on Tue, 2019-02-26 13:21

Glad that you like it :-)

Mihai

abarranco's picture

Can't install on Eclipse 2018-12 (4.10.0)

Submitted by André Barranco on Mon, 2019-02-04 21:06

When I drag and drop the install button on my Workspace all I get is a blank (standard) Eclipse Marketplace window opened.

I know it omits 4.10 support, but I know the Spring Tool Suite based on Eclipse 4.10 has it, so I thought I'd manage to get it working.

mnita's picture

Re: Can't install on Eclipse 2018-12 (4.10.0)

Submitted by Mihai Nita on Thu, 2019-03-07 04:51

Unfortunately it does not always happen, is pretty rare, so it is hard to debug :-(

Can you please give it another try? I have uipdated the URL, making sure it does not end up in a redirect.

And I made sure to set the falg that Eclipse 4.10 is supported (it worked without changes, it was only a setting in the Marketplace)

Sorry for the troubles,
Mihai

aunkrig's picture

Sweet!

Submitted by Arno Unkrig on Thu, 2019-01-10 04:29

Now the logging of my SPRING BOOT application is no longer scrambled with ANSI control characters. Exactly what I wanted.

The plugin appears to modify the standard console view, instead of adding a new view. No need to (re)configure anything.

drobinsonnd5's picture

Site not reached

Submitted by Daniel Robinson on Mon, 2018-10-01 19:51

I get this error:

Unable to read repository at http /www.miha i-nita.net/ eclipse/content.xml.
Received fatal alert: internal_error

Eclipse IDE for C/C++ Developers, with WICED SDK 3.4.0

Version: Luna Service Release 2 (4.4.2)
Build id: 20150219-0600

drobinsonnd5's picture

Re: Site not reached

Submitted by Daniel Robinson on Tue, 2018-10-02 10:39

I switched to a different version of Eclipse and was able to install from the Marketplace to that version's plugins directory.

I copied the JAR file to the plugins directory of the version that failed to load and it works.

There appears to be a version incompatibility between the version of Eclipse used by Cypress and the Marketplace (at least for this package.)

asolovjevqet's picture

Multiline coloring doesn't work properly

Submitted by Andrey Solovjev on Sun, 2018-08-05 05:05

Does not work properly with multiline coloring. I have about 30 lines of output from c++. Let's say the line 10 is the sequence of red color. Then 3 lines that should be red and the code for restoring the default color in the end of the third line. Other lines should have default color. With such output I've got red in different places while scrolling the eclipse's terminal. Sometimes red are first 10 lines, sometimes last part of the text. May be the plugin works only if setting and restoring sequences are localized in the same line?

Oxygen.3a Release (4.7.3a)

mnita's picture

Re: Multiline coloring doesn't work properly

Submitted by Mihai Nita on Fri, 2018-08-10 18:20

Unfortiunately, a known problem, and one that I don't really think I can solve.
https://github.com/mihnita/ansi-econsole/issues/3

It is a limitation in the Eclipse console itself: my plugin only get a line at the time, and when the console buffer gets full the top lines are dropped, the line numbers change, and all context is lost. So when coloring the current line there is no way to know what was set X lines above :-(

I am also anoyed by this bug, I have some idea. But is very hacky, but it might also mess up the performance.

Sorry,
Mihai

 

sasadi's picture

does not work in Mac OS High Sierra

Submitted by Sepideh Asadi on Fri, 2017-10-20 08:45

Could you notify us whenever you have a new release of "ANSI Escape in Console" for Mac OS High Sierra?

I am using Eclipse C++ in Mac OS High Sierra. It seems this pluging removed a part of messages in the console. 

s_asadi83[at]yahoo.con

rcarrm45's picture

Won't render ANSI color text on Mac OS High Sierra (Public Beta)

Submitted by Rory Carr on Thu, 2017-07-06 17:48

Spring Boot applications that log using ANSI color codes won't display on the eclipse console. If the text is copied from the console to another app (say Terminal), you can read all the text. It is as though  the text is rendered in the same color as the background color of the conole.

mnita's picture

Re: Won't render ANSI color text on Mac OS High Sierra

Submitted by Mihai Nita on Tue, 2019-02-26 13:24

Works now.
This looked like a system / SWT problem. Fixed meantime (by Mac OS or Eclipse, I don't know)

mnita's picture

Re: Won't render ANSI color text on Mac OS High Sierra

Submitted by Mihai Nita on Tue, 2017-10-03 02:28

This seems to be a system / SWT problem.
Bug opened, https://bugs.eclipse.org/bugs/show_bug.cgi?id=525383

aamfistomos's picture

Re: Won't render ANSI color text on Mac OS High Sierra

Submitted by Atlas Amfistomos on Wed, 2017-09-27 09:26

Still occurs with Mac OS High Sierra official release...

mnita's picture

Re: Re: Won't render ANSI color text on Mac OS High Sierra

Submitted by Mihai Nita on Tue, 2017-10-03 02:29

This seems to be a system / SWT problem.
Bug opened, https://bugs.eclipse.org/bugs/show_bug.cgi?id=525383

hsengupta's picture

Cannot Install

Submitted by Himadri Sengupta on Tue, 2016-12-13 05:07

Cannot Install. Facing error
"Unable to read repository at http-www mihai-nita net -eclipse-content xml
peer not authenticated"

Can anyone look into this Please..

vmisingnamekvr's picture

ANSI-coloring during build ROS groovy projects?

Submitted by Valery Mising name on Fri, 2014-09-26 06:32

Hi, is it possible to turn on also ANSI-coloring during build in build console for ROS groovy projects?
For some reason it is not ANSI-colored here (Eclipse 4.4)

mnita's picture

ANSI-coloring during build ROS groovy projects?

Submitted by Mihai Nita on Tue, 2014-09-30 23:59

Sorry, I don't have an Ubuntu installed (just Win and Fedora).
I have found a VM, and I can try that.

But a quick look at the sources finds this "suspicious" line in catkin_make and catkin_prepare_release:

# force --no-color if stdout is non-interactive
if not sys.stdout.isatty():
    args.no_color = True

Since Eclipse needs to capture its output, it starts the build with the stdio and stderr redirected.
And that makes sys.stdout.isatty() return False (because the Eclipse console is not really a terminal).

It looks like there is no way to get around this without code changes.
But you can just comment these two lines and it should work.

If you are on Windows, the terminal_color.py also needs some fixing, because it assumes that Windows cannot support ANSI escapes (not true):

if os.name in ['nt']:
    disable_ANSI_colors()

The way I would fix ROS "for real" would be by adding a --force-color flag
(or do what most posix apps do: --color=never|always|auto and also honor an environment variable)

Anyway, if commenting the "if not sys.stdout.isatty():" does not work, please let me know, and I will go ahead and try top setup a working ROS environment.

Thank you,
Mihai

mnita's picture

ANSI-coloring during build ROS groovy projects?

Submitted by Mihai Nita on Mon, 2014-09-29 13:35

I don't know, I have never played with ROS. Let me give it a try, and will get back to you.
Thank you!
Mihai

pverest's picture

Colorize your CLI

Submitted by Paul Verest on Tue, 2014-04-01 10:49

Just look at picture and try to recall all those ANSI codes...

Markets

  • Eclipse Project (29)
  • Tools (1600)
    • Application Development Frameworks (205)
    • Application Management (37)
    • Application Server (42)
    • BIRT (10)
    • Build and Deploy (125)
    • Business Intelligence, Reporting and Charting (25)
    • Code Management (152)
    • Collaboration (47)
    • Database (57)
    • Database Development (42)
    • Database Persistence (23)
    • Documentation (80)
    • Eclipse Kura (83)
    • Eclipse SmartHome (65)
    • EclipseRT Target Platform Components (8)
    • Editor (386)
    • Entertainment (18)
    • General Purpose Tools (135)
    • Graphics (38)
    • IDE (400)
    • Internet of Things (IoT) (35)
    • J2EE Development Platform (60)
    • J2ME (6)
    • Languages (181)
    • Linux Tools (20)
    • Logging (26)
    • Mobile and Device Development (57)
    • Modeling (108)
    • Modeling Tools (181)
    • Mylyn Connectors (24)
    • Network (18)
    • Other (86)
    • Process (22)
    • Profiling (25)
    • Programming Languages (126)
    • Reporting (40)
    • Rich Client Applications (57)
    • Science (5)
    • SCM (25)
    • Search (45)
    • SOA Development (20)
    • Source Code Analyzer (122)
    • Systems Development (67)
    • Team Development (66)
    • Testing (115)
    • Tools (685)
    • UI (103)
    • UML (46)
    • Web (117)
    • Web Services (40)
    • Web, XML, Java EE and OSGi Enterprise Development (39)
    • XML (35)
  • IoT (152)
    • Eclipse Kura (83)
    • Eclipse SmartHome (65)
  • RCP Applications (95)
  • Training & Consulting (58)
  • Long Term Support (11)

Search

Advanced Search

More like this

  • LogViewer
  • Extras for Eclipse
  • Color IDE Pack
  • Eclipse Xtext
  • Gonsole

Favorited by

Eclipse IDE 2019-09

Get the latest version of the Eclipse IDE.

Download Now Learn More

Eclipse Foundation

  • About Us
  • Contact Us
  • Donate
  • Governance
  • Logo and Artwork
  • Board of Directors

Legal

  • Publishing Guidelines
  • Privacy Policy
  • Terms of Use
  • Copyright Agent
  • Eclipse Public License
  • Legal Resources

Useful Links

  • Welcome to Marketplace
  • Report a Bug
  • Documentation
  • How to Contribute
  • Mailing Lists
  • Forums
  • Marketplace

Other

  • IDE and Tools
  • Community of Projects
  • Working Groups
  • Research@Eclipse
  • Report a Vulnerability
  • Service Status

Copyright © Eclipse Foundation, Inc. All Rights Reserved.

Back to the top