Reputation: 11976
I'm working with VS Code, the intellisense easing the writing of jsx code works only when the editor is set on "Javascript React" file. How make the intellisense when my editor is simple set on "Javascript".
It would allow me to create simple ".js" file benefiting by the same way of the jsx intellisense.
Thanks
Upvotes: 0
Views: 570
Reputation: 9713
Add this setting in your user settings file:
"files.associations": {
"*.js": "javascriptreact"
}
My VSCode version: 1.24.1
Upvotes: 2