Change background color of errors in terminal
Hi,
I am using PhpStorm 2016.3.3 (on iOS Sierra) and am really struggling to read error messages in the built in terminal. I have tried fixing this by changing the theme and updating the options under Preferences>Editor>Colors & Fonts->Console Colors but this does not solve anything. Also, none of the options seem to apply to the formatting of the block. I have attached two screenshots:
- Screenshot of my terminal output.
- Screenshot of PhpStorm's terminal output with the settings open.

Any idea how I can set PpStorm up so that I can actually read the message?
Please sign in to leave a comment.
Sorry, my first screenshot wasn't uploaded for some reason.
Does this happen with any error message? What, for example, if you run the following code:
class A{
public function ff()
{
}
}
class B extends A {
public function ff($a) {}
}
Is the error message highlighted in the same way?
Hi Eugene,
thank you for your answer. I am not quite sure what you are referring to. In my case, I am talking about console errors in PhpStorm's terminal.
Sorry, I was testing this wrong - simple PHP output (like exceptions) is not highlighted at all.
The issue you're describing is a bug: https://youtrack.jetbrains.com/issue/IDEA-134219
Please vote and follow.
Are you using oh-my-zsh?
I changed the color of ANSI Colors' Gray and Red Foreground and it was reflected.
it isn't readily apparent that console.Red and console.Grey are both being used especially if you're using a predefined colorscheme. Although, after all other possible changes it is the simplest combination and explanation.
Thanks for your assistance Miura

I had the same problem with the foreground colors of console output with background colors.
In my configuration Editor > Color Scheme > Console Colors > ANSI Colors the Black color was inherited from the console-standard output. Because the standard was gray the colors were wrong.
After changing the ANSI Black to true black (#000000) my problems were solved :)
For Symfony users see: https://stackoverflow.com/questions/42405446/how-to-change-phpstorm-theme-bin-console-background-color-font-color-on-error