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

In javascript "const TEST = {}" (TEST should also be highlighted) #1348

Closed
paladox opened this issue Mar 11, 2018 · 2 comments
Closed

In javascript "const TEST = {}" (TEST should also be highlighted) #1348

paladox opened this issue Mar 11, 2018 · 2 comments

Comments

@paladox
Copy link
Contributor

paladox commented Mar 11, 2018

For example when you have something like:

  const STATES = {
    active: {value: 'ACTIVE', label: 'Active'},
    readOnly: {value: 'READ_ONLY', label: 'Read Only'},
    hidden: {value: 'HIDDEN', label: 'Hidden'},
  };

STATES should be highlighted.

screen shot 2018-03-11 at 22 50 36

See ^^

@paladox paladox changed the title In javascript const TEST = {} (TEST should also be highlightedz) In javascript "const TEST = {}" (TEST should also be highlighted) Mar 11, 2018
@Golmote
Copy link
Contributor

Golmote commented Mar 11, 2018

Agreed, we could highlight uppercase variable names as constants.

@Golmote
Copy link
Contributor

Golmote commented Mar 26, 2018

Thanks for reporting.

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