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

<script lang='tsx'> does not highlight properly unlike jsx, ts and js #4291

Closed
Tenrys opened this issue Apr 23, 2024 · 5 comments
Closed

<script lang='tsx'> does not highlight properly unlike jsx, ts and js #4291

Tenrys opened this issue Apr 23, 2024 · 5 comments

Comments

@Tenrys
Copy link

Tenrys commented Apr 23, 2024

Code_zPJXU5MNsM

@Tenrys
Copy link
Author

Tenrys commented Apr 23, 2024

it also seems like updating that tag too quickly can make volar lose track of which "language" is used, I had changed it back to tsx but it still thought I was in a js file

@lokewei
Copy link

lokewei commented May 13, 2024

I have the same problem

@johnsoncodehk
Copy link
Member

This should fixed by microsoft/TypeScript#57641 in TS 5.5.

@johnsoncodehk
Copy link
Member

Duplicate of #3912

@johnsoncodehk johnsoncodehk marked this as a duplicate of #3912 May 13, 2024
@johnsoncodehk johnsoncodehk closed this as not planned Won't fix, can't repro, duplicate, stale May 13, 2024
@Tenrys
Copy link
Author

Tenrys commented May 13, 2024

Not sure if I need to wait for VSCode / other extensions to update to 5.5, but trying to use the 5.5 beta in a workspace as the language server does not seem to fix the issue yet?

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

No branches or pull requests

3 participants