-
Notifications
You must be signed in to change notification settings - Fork 129
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uppercase variables are not highlighted in string templates #368
Comments
This should be moved to vscode because the language does scope out the constant correctly as:
|
@sheetalkamat There's no 'variable' in the scope, just 'constant.other'. IMO this foremost a variable/property, and and constant is rather a secondary thing. |
@aeschli Atom grammar uses same scope names for constants: eg. https://github.com/atom/language-javascript/blob/master/grammars/javascript.cson#L1180 |
@sheetalkamat See https://www.sublimetext.com/docs/3/scope_naming.html for Sublimes recommendation on the usage of 'variable.other.constant' looks like a good match in our case. |
All right. Will update the scope to |
Thanks a lot! |
TS and JS Grammar Extension version: 0.0.10 / latest
CREDIT_CARD
should be colored the same ascreditCard
The text was updated successfully, but these errors were encountered: