Skip to content

Emmet does not work in js/jsx files for VS Code 1.62.2(Universal) #137012

@shiraz

Description

@shiraz

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:

  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"
    }
}

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugconfirmedIssue has been confirmed by VS Code Team memberemmetEmmet related issuesinsiders-releasedPatch has been released in VS Code InsidersregressionSomething that used to work is now brokenverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions