Weird code background color
Answered
Hi, I am using rider and sometimes it's coloring my code with some weird white background color:
Sometimes not all code will be colored, like in this picture (the method head and one of the curly brackets is not colored for example...)
How do I remove it completely?
Please sign in to leave a comment.
Hi Nimrod m!
What themes in `File | Settings | Appearance & Behavior | Appearance` and `File | Settings | Editor | Color Scheme` do you use? Don't you notice any special actions before this happens? Do you use any additional plugins?
Thank you in advance!
Hi Alexandra Guk!
I didn't do anything special there, I am using visual studio dark, and changing it to something else in both places you mentioned did not change anything.
I can confirm I saw this behavior in Blazor which seemed fine over there but for some reason, I see this now when working on a simple class lib project. So maybe it came from there?
Thanks for your help!
Edit: don't remember doing anything special and also I don't use any special plugins.
Let me know if you need any specific info on my settings/plugins
Hi,
thank you.
Could you please add any other samples of this so I can try to reproduce it?
Could it be a selected Razor code block? You can check its colour set in `File | Settings | Editor | Color Scheme | ASP.NET`.
Thank you!
What do you mean by other samples? more screenshots?
Hi!
Thank you for the screenshots, that's indeed what I mean. I'm not sure this is settings-relatest. Do you have Code Coverage enabled for mentioned solutions?
Ha! nice one, it was indeed that, probably pressed Ctrl+U+K which enabled it.
Didn't know it was there until I looked for it
Thanks for your help!
Super!
Thank you for keeping me posted.
Should you have any other questions, let us know. Have a great day!