在Intellij产品中着色控制台输出 [英] Colorize console output in Intellij products

查看:617
本文介绍了在Intellij产品中着色控制台输出的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个带默认输出的自定义脚本。我想为错误,警告和信息着色。有一种方法可以在Intellij产品(IDEA,PhpStorm,PyCharm)中做到这一点吗?

I have a custom script with a default output. I'd like to colorize errors, warnings and infos. There's a way to do that in Intellij products (IDEA, PhpStorm, PyCharm)?

推荐答案

现在不支持它(至少不适用于所有运行配置类型)。请投票:

It's not supported right now (at least not for all the run configuration types). Please vote for:

  • IDEA-23976 Add ability to color/highlight console output
  • IDEA-69880 Support for colors in console output

外部工具,以支持ANSI转义序列为彩色文本。

Console output of the external tools is fixed to supports ANSI escape sequences to color text.

这篇关于在Intellij产品中着色控制台输出的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆