I noticed that when I run Maven in IntelliJ's term...
# random
p
I noticed that when I run Maven in IntelliJ's terminal it is colored but when running Maven as a run configuration the output is all white. Why is that? Any experience with that guys?
g
Logs window is just text output, but terminal runs bash/zsh that have own advanced features, like colors, output modifications etc and maven have integration to print output with additional markup
p
I am talking about the
Run
panel which outputs maven log during build. Maven outputs ANSI color codes, why would colors not be rendered?
g
Because logs in run panel doesn't support ANSI colors, it's just text,I think the same is true for other panels for logs in Idea, only terminal supports colors
p
It's marked as fixed.
g
Strange, never see any colouring of logs in idea, except error logs that showed in red (and only for console logs of logging framewor), but I always thought that it work on level of tool window (parsing of logs) rather than one level of ANSI colors
p
I don't understand what's so hard about rendering color codes lol.
g
I think nothing blocking there, just should be implemented for specific log windows
Also for example in case of gradle idea prints “plain” logs, which doesn’t have any colouring, because “rich” version is quite advanced, not only with colors, but also with interactive progress output and required real support of shell. Maybe something similar happening with maven
y
I'm a bit late on topic, but run application with colored output work. I thinks it's more from gradle side (terminal capacity detection).