This suddently happended after I created a new file while working on a project. Almost all characters are blank (except for brackets, because I have Bracket Pair Colorization enabled)
dot tsx highlighting not working
dot ts highlighting not working
dot js highlighting not working
I already tried reseting my configs, checked my configs (both globally and in my workspace), tried this extension that offers an alternative syntax highlighting (which worked, but I would prefer using the VS Code one)
CodePudding user response:
I think this is caused by the extension called Javascript and Typescript Nightly. This is causing the syntax highlighting for js and ts files (jsx and tax too). This is more of a bug with the latest version(Currently 1.73.1).
You can disable the extension to enable the syntax highlighting.
CodePudding user response:
What user Haneen said is correct, but instead of disabling it. You can install an old version that works just fine. Click the cog on the bottom right > 'Install Another Version' > Celect and older version