如何使用Grep控制台在Intellij的控制台中为输出着色? [英] How do I color my output in the console in Intellij using Grep Console?

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

问题描述

这是我对StackOverflow的第一个问题:

This is my first question to StackOverflow:

我在Mac上使用IntelliJ IDEA.Intellij不支持输出的ANSI着色(我想用它来着色我在控制台中表示的ludoboard).所以我试图让Grep Console正常工作-但我不知道如何.我使用Google可以找到的唯一指南是指Eclipse还是不具体,所以我不了解IDEA.

I'm using IntelliJ IDEA on a Mac. Intellij does not support ANSI coloring of the output (I want to use it for coloring a ludoboard, that i'm representing in the console). So i'm trying to get Grep Console to work - but i don't know how. The only guides I could find, using google, refer to Eclipse or are not specific, so i'm out of IDEAs.

有人可以请ELI5吗?

Can anyone please ELI5?

推荐答案

很简单,在Grep Console的设置中,只需选中启用ANSI着色",然后在下一次运行中将其着色.如果不是,则控制台存在问题,您应该在github上为插件创建问题,或者在jetbrains问题跟踪器上创建问题.

It is simple, in the settings of Grep Console, just check "Enable ANSI coloring" and in the next run, it will be colored. If not then there is some issue with the console and you should create an issue either on github for the plugin, or on jetbrains issue tracker.

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

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