Is it possible to detect IDEA running environment?

Answered

Hi,

Is it possible to detect whether a java program is running on IDEA run/debug terminal or other terminals?

I'm making an RGB colored logger, but since IDEA run/debug terminal won't support full RGB coloring, I'm planning on making a feature that detects whether it is running in IDEA environment. If it is running in IDEA, I would round every RGB color code to the nearest preset color that IDEA run/debug terminal has.

0

Please sign in to leave a comment.