Closed TheDevick closed 2 years ago
@TheDevick This is the correct behavior. Variables are supposed to be white.
If you prefer variables to instead be highlighted in #bf72e6
, I encourage you to apply that adjustment to your user settings (as you described).
If you are also looking to make the dollar sign that color, try also adding this...
"editor.tokenColorCustomizations": {
"punctuation.definition.variable.php": {
"foreground": "#bf72e6",
}
}
Steps to Reproduce:
namespace Project\Src;
class Test { public function test() { $Int = 0;
}
Now, the Variables are in Purple, but The Syntax Highlight In
boolval($Int)
Will Be Incorrect.The Dolar Sign ($) Will Be In White