Skip to content
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

Scope for constants #57

Open
websash opened this issue Feb 9, 2019 · 0 comments
Open

Scope for constants #57

websash opened this issue Feb 9, 2019 · 0 comments

Comments

@websash
Copy link

websash commented Feb 9, 2019

In JavaScript (Babel) in code like this

type.CONSTANT_NAME
process.env.NODE_ENV

the uppercase words would have variable.other.constant.js scope and I could style them as constants in my color scheme.

In JS Custom they are just meta.property.object.js. If we have CONSTANT_NAME alone it is variable.other.constant.js just like in the Babel syntax.

Semantically they are all constants. Maybe we could add this extra scope for uppercase words

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants