Syntax Highlighting And Intellisense Import Suggestions Broken When Used With Babel ES6/ES7 Plugin
See original GitHub issueLooks like syntax highlighting breaks when injectGlobal
or `css’ isn’t in the file root:
The same is true whether wrapped in a function body or not. The eslint comment in the above example has no effect.
Probably related to #82
vscode-styled-components Version 0.0.17 VSCode Version 1.22.2 (1.22.2)
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Styled Components Intellisense Not Working - Stack Overflow
I installed vscode-styled-components but there is no syntax highlighting. Is there anyone having the same problem? I am using VSCode 1.73.
Read more >Editors - Babel.js
This guide should help you get the syntax highlighting to work. If you're looking for more advanced integrations, you may want to take...
Read more >Visual Studio Code Es6 Syntax Highlighting - ADocLib
I have the support for es6/es7 installed and already have a JavaScript (Babel) I @con-ssc Where can I check if I also have...
Read more >Wallaby.js Visual Studio Code Extension - Netlify
This extension provides AI-assisted IntelliSense by showing recommended completion items ... This means you get context-aware code completions, tool-tips, ...
Read more >Set Up Visual Studio Code and xDebug as the Ultimate Editor ...
In Visual Studio Code, I'll first open the plugin itself, ... the Babel ES6/ES7 extension, which adds syntax highlighting for ES6/ES7.
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 FreeTop 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
Top GitHub Comments
@Cu3PO42 Thank you. I switched from Babel ES6/ES7 to Babel JavaScript plugin and that seems to have fixed the highlighting issues. I’d suggest making a note of this in the README as Babel ES6/ES7 is far more popular (with over twice as many downloads). I’ll happily do this in a PR if that would be helpful.
Also note that intelisense import suggestions are broken when using
Babel ES6/Es7
.Would you like me to open a fresh issue related to this incompatibility?
it’s not working for me, everything work fine only if i disable “Babel javascript”