I have been trying to find the setting in visual studio where I can remove the obnoxious background-color highlighting in a Blazor components' @code {}
section. What setting do I have to kill to remove this behaviour in Visual Studio 2019?
Go to Tools > Options > Environment > Fonts and Colors. Scroll for HTML Razor Code Background, select it and as an Item background choose Custom. Select rgb(30, 30, 30) to match your editor background and make it invisible.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With