Emmet does not work in js/jsx files for VS Code 1.62.2(Universal) · Issue #137012 · microsoft/vscode (original) (raw)
Does this issue occur when all extensions are disabled?: Yes/No
- VS Code Version: 1.62.2
- OS Version: macOS 10.15.7
Steps to Reproduce:
- Download VS Code v1.62.2 on a Mac.
- Create an file in the path
pages/index.js
. - Create a simple functional component like:
function HomePage(props) {
return (
<div>
<title>NextJS Events</title>
</div>
);
}
- Type
div.test
in thediv
and press Tab. - Observe that nothing happens.
- Disable all extensions.
- Restart VS Code.
- Observe that the same issue occurs.
Notes:
I added the following code in settings.json and then restarted VS Code. The same issue occurs when I try to use Emmet.
{
"emmet.includeLanguages": {
"javascript": "javascriptreact"
}
}