-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Improve JSX/TSX support in code editor #32833
Conversation
For example: "New File" -> input "a.c" as filename (highlight as C) -> change file name to "a.md" (highlight as MD and provide preview) Tested, works |
Yes, language change on filename change still works. Ideally we would also update model |
Two tweaks to Monaco to improve JSX/TSX support.
uri
(containing the filename), do this.jsx
compiler option to avoid error annotationsBefore:
After: