-
Notifications
You must be signed in to change notification settings - Fork 119
Interpolation brace style #454
Comments
Braces have You can make temporary fix using: "editor.tokenColorCustomizations": {
"textMateRules": [
{
"scope": [
"string.quoted.double.php punctuation.definition.variable.php",
"string.unquoted.heredoc.php punctuation.definition.variable.php"
],
"settings": {
"foreground": "#9CDCFE"
}
}
]
}, Edit: Extending scope might be problematic with complex syntax like: |
@blaumeise20 Yes, but I've edited to do this only in strings, and with the correct color ( |
Oh, ok, I tried the new configuration, it works better, but still makes the dollar sign blue inside strings (also I want to have that dark blue color like in JS, not the variable color). |
I don't understand that, shouldn't dollar sign be blue there? You can make 2 rules, one to make braces colored, second one to restore dollar color:
With |
Prerequisites
Description
I am comming from the VS Code repository, and I have some problems with syntax highlighting. When writing this code:
Most things are highlighted correctly, but the
{}
symbols don't look right.Steps to Reproduce
Copy the above code snippet into an editor using this repository's syntax for highlighting.
Expected behavior:
The braces should be blue like in most other languages.
Example JavaScript:
Actual behavior:
The braces have string color which looks weird.
The text was updated successfully, but these errors were encountered: