Colorize console output in Intellij products

后端 未结 5 821
Happy的楠姐
Happy的楠姐 2020-11-29 19:53

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)?

5条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-11-29 20:55

    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

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

提交回复
热议问题