Skip to content

Emmet for jsx in js-file doesn't work anymore #14962

Closed

Description

@perbergstrom12
  • VSCode Version: 1.71
  • OS Version: Windows 10

Steps to Reproduce:

  1. Open a .js file with language mode JavaScript React
  2. type div and hit tab

Activity

  1. maroon1 commented on Nov 4, 2016

    @maroon1

    I found tsx works well, but jsx doesn't work.

  2. mrmlnc commented on Nov 4, 2016

    @mrmlnc
    Contributor

    Just a tip for those who will work on this issue: it is not related to Emmet.

    VS Code defines the JavaScript React as JavaScript. Also comments from Martin Aeschlimann (@aeschli): #14661 (comment)

    TypeScript React

    image

    JavaScript React

    image

  3. added
    candidate
    on Nov 7, 2016
  4. alexdima commented on Nov 8, 2016

    @alexdima
    Member

    To investigate: this most likely has the same root cause as #14661

  5. alexdima commented on Nov 8, 2016

    @alexdima
    Member

    Same root cause as #14661

  6. added
    *duplicate
    verification-needed
    on Nov 8, 2016
  7. alexdima commented on Nov 8, 2016

    @alexdima
    Member

    To the verifier: Please see comment in #14661

  8. maximgatilin commented on Sep 25, 2017

    @maximgatilin

    You can try this

    "emmet.includeLanguages": {
        "javascript": "javascriptreact"
    }
    
  9. locked and limited conversation to collaborators on Nov 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

*duplicatecandidateverification-neededverified

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions