dotnet / dotnet/roslyn

Syntax highlighting is misaligned

Open
#85,638 8 comments 1 reaction 0 assignees View on GitHub
Area-Razor
Dominant language
C#
Stars
20.7k
Forks
4.3k
PR merge metrics
PR metrics pending

Description

VS 11218.70

https://github.com/user-attachments/assets/74ba6deb-e46e-469e-9841-c8982b5c89e5

Code compiles successfully, even most of other language features seem to work correctly.

File which can consistently reproduce the issue (reopen, even VS restart) sent on Discord to @davidwengier.

Contributor guide

Open the contributing guide

Research direction

The report names no repository file, test, or entry point; the consistently reproducing file was sent on Discord to @davidwengier, and the attached image is the available symptom report. Start by obtaining that reproduction and confirming the misalignment in Visual Studio, then trace the relevant Roslyn syntax-highlighting behavior and verify that the corrected highlighting remains compatible with successful compilation and the other working language features.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
compilers
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.