razor icon indicating copy to clipboard operation
razor copied to clipboard

[VS 2022] [syntax highlighting] JS syntax colorization does not work with inline js in VS 2022

Open vsfeedback opened this issue 4 years ago • 2 comments

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 devenv_A7S225kIms.png


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)

vsfeedback avatar Nov 13 '21 00:11 vsfeedback

Note the grammar supports the right scopes for the inline JS we're probably just suppressing it due to platform bugs: image

NTaylorMullen avatar Nov 13 '21 00:11 NTaylorMullen

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

hypeartist avatar Nov 29 '21 15:11 hypeartist