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

Steps to Reproduce:

  1. Download VS Code v1.62.2 on a Mac.
  2. Create an file in the path pages/index.js.
  3. Create a simple functional component like:
function HomePage(props) {
  return (
    <div>       
        <title>NextJS Events</title>
    </div>
  );
}
  1. Type div.test in the div and press Tab.
  2. Observe that nothing happens.
  3. Disable all extensions.
  4. Restart VS Code.
  5. 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"
    }
}