Is it possible to detect IDEA running environment?
已回答
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.
请先登录再写评论。
Please check https://intellij-support.jetbrains.com/hc/en-us/community/posts/360000015340-Detecting-Intellij-from-within-main-methods.