Custom background color for PHP not working properly after updating to 2023.1.4
I have the light theme and set a light yellow color as background for PHP code in the editor/color scheme.
The editor is ignoring it after the update.
Using "intellij light" theme for the ide and my custom theme for the editor.
Side note: no matter if I use the new or the old UI, the problem persists.
Another side note: it only works when adding a PHP closing tag at the end of the file.
So if the file is entirely PHP and the ending tag isn't added (as a recommended practice) then the entire code is rendered without the custom background color. Saw that on include files with mixed PHP and HTML. Then went to edit a non mixed PHP file and noticed the behavior.
请先登录再写评论。
Hi there,
Do you have this option enabled? Try toggling it.
Settings/Preferences | Editor | General | Appearance | Always enable PHP code background highlighting
And that's a new thing I wasn't expecting. Thanks for the heads up.