How to add Emmet autocomplete for .js files in React
Kehinde Adeleke
Posted on May 22, 2022
I recently ran into a problem where Emmet autocomplete would work for files ending with the .jsx
extension but break break for files with the .js
extension.
To solve it, do the following
Add the following lines to the end of the settings.json file
"emmet.includeLanguages": {
"javascript": "javascriptreact"
},
"emmet.triggerExpansionOnTab": true
and voila, Your autocomplete should work as expected.
💖 💪 🙅 🚩
Kehinde Adeleke
Posted on May 22, 2022
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.
Related
githubcopilot AI Innovations at Microsoft Ignite 2024 What You Need to Know (Part 2)
November 29, 2024