atom-react icon indicating copy to clipboard operation
atom-react copied to clipboard

Code colouring breaks on 'this' string inside element

Open gersomvg opened this issue 8 years ago • 2 comments

'This' is being mistaken for a reference, while it is just plain text inside an JSX/HTML element. screen shot 2016-04-10 at 12 51 02

gersomvg avatar Apr 10 '16 10:04 gersomvg

Same for logical operators. ! and && are interpreted as operators, not text inside JSX:

image

I'm using Atom v1.11.2 and the react plugin v0.16.1.

TimoStaudinger avatar Oct 19 '16 17:10 TimoStaudinger

It seems that all reserved words in JSX text nodes are highlighted when they shouldn't be. screen shot 2017-02-21 at 1 37 52 pm

mrbinky3000 avatar Feb 21 '17 18:02 mrbinky3000