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

React state #45

Open
LoiKos opened this issue Oct 4, 2018 · 2 comments
Open

React state #45

LoiKos opened this issue Oct 4, 2018 · 2 comments

Comments

@LoiKos
Copy link

LoiKos commented Oct 4, 2018

Is it possible to add custom highlight to react state object inside a component ?

 class extends Component { 
  state = {}  //no highlight
}

It look important to me to clairly identify because it's not a class variable nor a function

@Thom1729
Copy link
Owner

Thom1729 commented Oct 4, 2018

There is not currently a way to specially highlight that. When sublimehq/Packages#1641 is merged, I can start working on a system to allow highlighting of custom identifiers, and that may do what you want.

@LoiKos
Copy link
Author

LoiKos commented Oct 4, 2018

Okay Thanks 👍

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