Skip to content

Can we have token for explicitly UPPER_CASED variable? #645

Open
@rokoroku

Description

@rokoroku

TS and JS Grammar Extension version: 0.0.43 / latest

Code

// Please include a code snippet that demonstrates the issue
const UPPER_CASED_CONSTANTS_VARIABLE = 1;
const lower_cased_variable = 2;

#542
858d33f

Prior to above fix, we can have UPPER_CASED variable as a constant so we can apply style for the uppercased constant differently, however, it's impossible now

Is it possible to have uppercased constant variable as another token? (e.g. variables.uppercased.constants, variable.uppercased.readwrite, ...)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions