previously i don't remember configuring anything separately when working with React on VSCode, recently i had to clean install OS on my device but after that in VSCode my JavaScript Syntax highlighting broke here's the screenshot, been trying to fix it since yesterday but to no avail, what can i do to fix it?
CodePudding user response:
Syntax highlighting seems to work on the screenshots provided. On the bottom bar of VSCode you should have a button for Selecting Language mode this should be AutoDetect or JSX in your case.
CodePudding user response:
Sometimes my all extensions stop working. I relaunch VSCode few times and it fixes my problem.