Closed
Description
From @Janne252 on July 26, 2018 8:24
- VSCode Version: 1.25.1
- OS Version: Windows 10 Pro 64-bit
Steps to Reproduce:
- Open an empty folder in VS Code
- Create a new TypeScript file with the following content:
declare const Foo: string;
declare const BAR: string;
- Add the following setting to the workspace settings:
"editor.tokenColorCustomizations": {
"textMateRules": [
{
"scope": "variable.other.constant.ts",
"settings": {
"foreground": "#FF0000"
}
}
]
}
- Enable "Developer: Inspect TM Scopes"
- Inspect the TextMate scopes of the constants
Foo
andBAR
Note how the constant in all caps is scoped asvariable.other.constant.ts
Note how the constant in camel case is incorrectly scoped asvariable.other.readwrite.ts
Does this issue occur when all extensions are disabled?: Yes
Copied from original issue: microsoft/vscode#55119
Metadata
Metadata
Assignees
Labels
No labels