Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

802
Views
Can the IntelliJ IDEA run tab have color?

I am running a spring boot application inside IntelliJ IDEA and noticed a difference if I run it via the run tab (run menu) and via manual command from the terminal tab.

If I run it through a maven run target (play button), I do not see any colors inside the 'run' tab. If I run it via 'mvn spring-boot:run from the 'terminal' tab I see the pretty color highlights. The maven run configuration also runs the same command, spring-boot:run.

Application started from the play button/run configuration (run tab): run tab Application started from the terminal tab via mvn spring-boot:run (terminal tab): terminal tab

about 4 years ago · Santiago Trujillo
3 answers
Answer question

0

Inside build.gradle, add the following block to get colorized log output when running your Spring Boot app inside IntelliJ IDEA via gradle bootRun.

bootRun {
    jvmArgs = ["-Dspring.output.ansi.enabled=ALWAYS"]
}
about 4 years ago · Santiago Trujillo Report

0

It's supported for the Spring Boot Run/Debug configuration type. It explicitly passes

-Dspring.output.ansi.enabled=always

JVM option enabling the color output.

As far as I know, ANSI colors support is not available when you run it in IntelliJ IDEA using Maven or Gradle configurations in the built-in console. Feature request is welcome.

about 4 years ago · Santiago Trujillo Report

0

In IDEA 2017.1 EAP I'm getting colours even if I'm just running the application with the standard run command

Colours in IDEA

Edit: Might be that Community edition doesn't support Spring Boot at all (https://www.jetbrains.com/idea/features/editions_comparison_matrix.html)

enter image description here

about 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!