Diagnostic squiggly in Razor cshtml file not in correct location #11819
Labels
author: migration bot 🤖
The issue was created by a issue mover bot. The author may not be the actual author
feature-javascript
Milestone
This issue has been moved from a ticket on Developer Community.
When pasting in the JavaScript element for the Application Insights JS SDK into a Razor .cshtml file, an error is reported as the minimized JavaScript code in the snippet includes an
@
symbol which requires escaping. However the red diagnostic squiggly underlines far more than the problem location, making it difficult to pinpoint what the issue is (especially as the minimized JS line is very wide):Compare this to the red squiggly position when reproducing this issue on lab.razor.fyi:
Original Comments
Feedback Bot on 5/2/2025, 00:11 AM:
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.
The text was updated successfully, but these errors were encountered: