Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Emmet not working for React #13247

Closed
Tracked by #13192
patnan opened this issue Jan 8, 2024 · 6 comments · Fixed by #13630
Closed
Tracked by #13192

Emmet not working for React #13247

patnan opened this issue Jan 8, 2024 · 6 comments · Fixed by #13630
Assignees
Labels
vscode issues related to VSCode compatibility
Milestone

Comments

@patnan
Copy link

patnan commented Jan 8, 2024

Bug Description:

Emmet not working for React

Steps to Reproduce:

  1. Add to the seeting file:
    "emmet.includeLanguages": {
    "javascript": "javascriptreact"
    }
    }
  2. open an jsx/js file and try emmet. Emmet is not triggered.

Additional Information

  • Operating System:
    Ubuntu 22
  • Theia Version:
    Theia IDE
@JonasHelming
Copy link
Contributor

Have you installed a VS Code extension, and if so which one?

@patnan
Copy link
Author

patnan commented Jan 9, 2024

I'm relying on the built in Emmed plugin
image

I'm using Theia IDE v 1.45.0

image

I added this to the settings:

"emmet.includeLanguages": {
    "javascript": "javascriptreact"
}

@JonasHelming
Copy link
Contributor

Does it work in VS Code? I have seen several people having problems wit this, e.g. https://stackoverflow.com/questions/50750263/trying-to-use-emmet-with-a-react-app-in-vs-code

@patnan
Copy link
Author

patnan commented Jan 9, 2024

"unfortunately" it works in VSCode.

@JonasHelming JonasHelming mentioned this issue Jan 10, 2024
63 tasks
@sgraband
Copy link
Contributor

I can take a look!

@sgraband
Copy link
Contributor

I opened #13630 as a fix. The issue was with the activation event of the extension.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
vscode issues related to VSCode compatibility
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants