[VS 2022] [syntax highlighting] JS syntax colorization does not work with inline js in VS 2022
This issue has been moved from a ticket on Developer Community.
[regression] [worked-in:16.11.4]
I upgraded my visual studio to 2022 (exact version 17.0) and found out, that js syntax highlighting does not work with inline js written in thml in razor component

Original Comments
Feedback Bot on 11/9/2021, 10:57 PM:
We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps.
Feedback Bot on 11/12/2021, 10:11 AM:
Thank you for reporting this issue to us. We have changed the title to better describe the problem so others can find and engage with it.
Feedback Bot on 11/12/2021, 10:16 AM:
Thank you for reporting this issue to us. We have changed the title to better describe the problem so others can find and engage with it.
Original Solutions
(no solutions)
Note the grammar supports the right scopes for the inline JS we're probably just suppressing it due to platform bugs:

Well, I get actually no syntax highlighting at all in a .js files:
