Add support for other JavaScript filetypes like javascript.jsx
See original GitHub issueIt took me nearly 20mins to figure out why the JavaScript completion was not working at all when I realized that I set my JavaScript ft=javascript.jsx
& it seems that in order for it to work it ft
must be javascript
only. It will be nice to support other filetypes too.
Issue Analytics
- State:
- Created 6 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
4 Ways to Add External JavaScript Files in React
Since React doesn't support the <script> tag in Component , here are a few ways of appending JS files to specific components.
Read more >Introducing JSX - React
It is called JSX, and it is a syntax extension to JavaScript. We recommend using it with React to describe what the UI...
Read more >React JS project - treat *.js files as JSX #3112 - GitHub
I have a project created with "create-react-app". Each JS file in it is actually JSX. I would like to try ViteJS to develop...
Read more >javascript - ReactJS - .JS vs .JSX - Stack Overflow
I have read about JSX files and my understanding is that they just let you write HTML tags within your JavaScript . But...
Read more >Enable Emmet support for JSX in Visual Studio Code | React
There is a small tweak you need to do on your VS Code to enable Emmet support for JSX. This makes typing HTML...
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
This commit #94 should fix the problem. Please update and try it again.
You can use the option
g:completor_filetype_map
to add support forjavascript.jsx
: