Closed GitHub-Mike closed 4 years ago
Could you provide a piece of sample codes and some screenshots?
I can make a screenshot if you could tell me under which sub-item of the Color Scheme the "magic constants" setting should be located.
Go to Preferences -> Editor -> Color Scheme -> PHP, all PHP color schemes locate at there. And I'm not familiar with PHP language.
Here is a screenshot with Settings -> Editor -> Color Scheme -> PHP.
Missing a way to format magic constants differently than "simple" constants.
I found that the IDE only offers one Constant
property and no more relative properties like Magic Constant
, which means all constants keep the same color. So I guess PhpStorm doesn't offer this syntax highlight feature.
OK, thanks for your research! Then I close the issue now.
I'm using PhpStorm 2020.2 and can't find a way to format magic constants differently than "simple" constants.
Is this a PhpStorm problem or a missing theme feature?