Want to change language to JSX in Visual Studio Code? Change your user settings or workspace settings as below:
1 2 3 4 5 6 | // Place your settings in this file to overwrite the default settings { "files.associations": { "*.js": "javascriptreact" } } |
Note: You might need to restart VSCode.
If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.