Visual-studio – Disabling highlighting of current line in the Visual Studio editor

visual studiovisual studio 2012visual-studio-2015visual-studio-2017visual-studio-2019

The Visual Studio editor highlights the current line by changing the background color of the current line. Is there a simple way to disable this highlighting? Otherwise, which parameter in Fonts and Colors dialog controls the background color of the currently selected line in the editor?

Best Answer

Is there a simple way to disable this highlighting?

Tools -> Options -> Text Editor, in the Display group, uncheck "Highlight current line"

Which parameter in Fonts and Colors dialog controls the background color of the currently selected line in the editor?

The colors are named "Highlight Current Line (Active)" and "Highlight Current Line (Inactive)"