26

There is a similar question for Visual Studio 2010.
However, the answer does not work anymore with Visual Studio 2013.

How to change the current line color in Visual Studio 2013 ?
I would like to make it more visible.

Community
  • 1
  • 1
wip
  • 2,313
  • 5
  • 31
  • 47

1 Answers1

59
  1. Open Tools -> Options -> Environment -> Fonts And Colors.
  2. Select 'Text Editor' in 'Show settings for:'
  3. In 'Display items', select 'Highlight Current Line (Active)'.
  4. Change the color.
Bob Horn
  • 33,387
  • 34
  • 113
  • 219
qxg
  • 6,955
  • 1
  • 28
  • 36
  • 2
    Tools -> Options -> *Environment* -> Fonts and Colors – Assimilater Jun 02 '16 at 23:32
  • 3
    In Visual Studio 2017, the settings (Active) and (Inactive) were combined into a single "Highlight Current Line" setting. – mbomb007 Jan 31 '18 at 14:32
  • 4
    If you have Resharper, you need to change "ReSharper Current Line Highlight" too. – Rosdi Kasim May 25 '18 at 07:37
  • 1
    Also, in the Dark theme, don't expect the color that you choose for this will be **exactly** honored. See this **closed** bug report: [Highlight Current Line](https://developercommunity.visualstudio.com/content/problem/25081/highlight-current-line-color.html) for an explanation – Yann Duran Aug 20 '19 at 03:49
  • in Visual Studio 2019 setting color is useless, until you check **Tools -> Options -> Text Editor ->General -> Display -> Highlight current line** – Pie_Jesu Jun 03 '21 at 14:23