Console color

Hi,

 

When I run an external tool, the console shows no colors

This screenshot shows the difference between the console and the terminal

Is there a solution/workaround?

 

Cheers

4 comments
Comment actions Permalink

External tools cponsoledoesn't currently support colored output, as not all ANSI sequences can be interpreted (related ticket: https://youtrack.jetbrains.com/issue/IDEA-200189)

I'd suggest using NPM or Node.js run configurations for running cypress tests. Node.js run console supports colors

1. with NPM

 

Node.js;

 

 

1
Comment actions Permalink

Thank you Elena, I used the external tools because they allow a keyboard shortcut to be configured

Anyway, I will follow your suggestion and use this plugin for better usability

https://stackoverflow.com/a/43281632/179545

 

Thank you, I appreciate your support

1
Comment actions Permalink

a similar/related question but, using Java/Spring boot app.

I can't find what provides the coloring as shown in this sample screenshot..  

Mine is only shown in B/W like below...

 

EDIT: Apologies, I just noticed this is the webstorm section.. I'm using IntelliJ Ultimate.  I'll see if I can find something related over there and update accordingly.

 

0
Comment actions Permalink

FYI: I tracked it down to this setting:

spring.output.ansi.enabled=ALWAYS  

added to:

src/main/resources/application.properties  (or elsewhere in your environment)

For reference, found in this thread:
https://youtrack.jetbrains.com/issue/IDEA-69880?_ga=2.71231312.1706461776.1577042176-1654081481.1577042176#comment=27-1115283 

1

Please sign in to leave a comment.