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

查看:27
本文介绍了为 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)?

推荐答案

已经有一段时间了,但如果您仍然感兴趣,有一个用于控制台着色的新插件:Grep 控制台.

It has been a while, but in case you are still interested, there is a new plugin for console colorizing: Grep Console.

与 Intellij 12 配合良好.
确保在安装插件后重启 IntelliJ.之后你会在左上角看到插件图标(白红图标).

Works nicely with Intellij 12.
Make sure you restart IntelliJ after installing the plugin. After you will see the plugin icon in the top left corner (white-red icon).

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

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