Highlighting broken in javascriptreact language based file
See original GitHub issueI’ve just noticed that the latest release have broken the syntax highlighting of javascriptreact
language based files potentially because of vscode-language-babel/commit/da7b1e2df5f8182814605b11098c32e220bc902d. Am I missing something as to why it was removed?
Thanks for the great work!
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
VSCode React JSX syntax highlighting broken - Stack Overflow
This happens in a lot of JSX files. Highlight mode is set to "JavaScript React". enter image description here · reactjs · visual-studio-code ......
Read more >Syntax coloring not working. · Issue #111 · microsoft/vscode ...
I am trying to use VS Code for a simple react native project. I installed the react native extension, and it seemed to...
Read more >Javascript syntax highlighting it not working
For me it starts to work when "Enable the new JavaScript language service" (Options->Text Editor->JavaScript/TypeScript->Language Service) is set to unchecked.
Read more >Vscode React Jsx Syntax Highlighting Broken - ADocLib
This is a plain.ts file (so uses typescript language) but typescript-react ... Syntax highlighting with JSX-Fragments is broken in Javascript React mode.
Read more >Strict Mode - React
StrictMode is a tool for highlighting potential problems in an application. Like Fragment , StrictMode does not render any visible UI.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@madiodio I’ve reverted it and published 0.0.17 with the change. Let me know if you continue to run into issues.
My bad. But not just syntax highlighting is broken the whole grammar is broken eg. auto-completion specifically in template literals. see the diff below.
(Notice it works with
Babel Javascript
as the language identifier but does not injavascriptreact
)Babel Javascript
javascriptreact
I checked the commit you refered to, but I still don’t see why the
javascriptreact
language identifier was removed tough.