Sublime-JS-Custom
Sublime-JS-Custom copied to clipboard
Scope for constants
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