Customizing color of comparsion operators doesn't take effect
See original GitHub issueDescribe the bug Customizing “keyword.operator.logical” doesn’t work.
To Reproduce Steps to reproduce the behavior:
- Open settings.json
- Add:
"editor.tokenColorCustomizations": {
"textMateRules": [
{
"scope": "keyword.operator.logical",
"settings": {
"foreground": "#ff00ff",
"fontStyle": "bold"
}
}
]
}
Expected behavior Expected color change, but it doesn’t change. Tried this customization with other themes and they worked.
Screenshots & Example Code
Desktop
- OS: Windows 10 Pro 64 bit
- VSCODE Version: 1.71.0
- Theme version v3.15.4
Additional context
Issue Analytics
- State:
- Created a year ago
- Comments:9 (3 by maintainers)
Top Results From Across the Web
c# - Why does this color comparison fail? - Stack Overflow
Actually your comparison fails on this step. Field knownColor compared. It has value of KnownColor enum, or zero, if color was not created...
Read more >A deep dive on themes, fonts, and more! - YouTube
An in -depth look at customizing the appearance of VS Code, with a focus ... First we'll cover basic customization including zoom level,...
Read more >Comparison operator and function reference
Learn about using and developing with operators and functions for filter expressions and condition expressions in DynamoDB.
Read more >Using media queries - CSS: Cascading Style Sheets | MDN
Media queries allow you to apply CSS styles depending on a device's general type (such as print vs. screen) or other characteristics such...
Read more >Variables and Expressions - Definition & Usage - AutoHotkey
Learn details about variables, expressions, operators, built-in variables and capacity and memory of variables.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Oh, thanks, I found the keys for it, they are
keyword.operator.comparison
&keyword.operator.relational
. But, suprisingly they don’t show up on intellisense/quick suggestions . Also, more generalkeyword.operator
doesn’t have effect on it (But in other color themes it works as intended. In this theme, it’s probably due to overriding issues).