-
Notifications
You must be signed in to change notification settings - Fork 490
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
Text colors in editor sometimes randomly change when scrolling #3295
Comments
Thanks @bwarren18 we have seen this issue at times as well-- but it is a bit of a tricky one that will take resources to debug--thanks! |
Thanks @SydneyhSmith, let me know if there is anything I can do to collect more debug information for this. |
@bwarren18 Does this only happen when semantic highlighting is enabled? |
@andschwa Yes. If Semantic Highlighting is set to false it looks fine; the bug reappears if set to true again. |
Helpful to know, thank you! |
I wish I knew a way to consistently reproduce the issue. |
I've seen it occasionally, we have a whole project planned to address the semantic highlighting issues. It was helpful to be able to categorize this. I'm contemplating disabling semantic highlighting by default until we have it working better. |
OMG it's a horrible feature! I hate it so much! For others who struggle with it, just set config to: "editor.semanticHighlighting.enabled": false, |
Issue Description
When editing code in an editor window, on very rare occasions, the text coloring that is based on the code content type will randomly change as you scroll down the page. To demonstrate the effect I created a bunch of comment lines between my code.
Other notes:
The Minimap shows the same coloring. There also appears to be 'ghost' characters in it.
The formatting is preserved if copied and pasted into another program, a new message in Outlook for example.
Closing and re-opening VSC fixes the issue.
Another person reported the same issue before and it was closed and suggested to be moved here: microsoft/vscode#120800
Environment Information
Visual Studio Code
PowerShell Information
Visual Studio Code Extensions
Visual Studio Code Extensions(Click to Expand)
The text was updated successfully, but these errors were encountered: