How to change the current line color in Visual Studio 2010?

前端 未结 4 1938
失恋的感觉
失恋的感觉 2021-02-03 17:30

Maybe it\'s trivial but I couldn\'t find an answer to it for several weeks. It\'s set to some light gray color which is very bothersome in a dark color theme.

Any ideas

相关标签:
4条回答
  • 2021-02-03 18:04

    Just to add to Brian's answer above, to have the extension, you need to install the VC10 extension from extension manager, see those two links below how to do it:

    http://weblogs.asp.net/scottgu/archive/2010/05/03/visual-studio-2010-extension-manager-and-the-new-vs-2010-powercommands-extension.aspx

    http://weblogs.asp.net/scottgu/archive/2010/06/09/visual-studio-2010-productivity-power-tool-extensions.aspx

    0 讨论(0)
  • 2021-02-03 18:09

    You can use the Visual Studio Theme Generator , where can you change all colors.

    0 讨论(0)
  • 2021-02-03 18:17

    If you as many of us use ReSharper, highlighting current line can be achieved via:

    ReSharper/Options...; Environment/Editor on the left; check "Highlight current Line" on the right.

    After that you may need to restart Visual studio and if you do not like the color, change it via:

    Tools/Options...; Environment/Fonts and Colors on the left; "ReSharper Current Line Highlight" on the right

    See more details in here

    0 讨论(0)
  • 2021-02-03 18:20
    Tools\Options\Productivity Power Tools\Highlight Current Line
    

    to enable/disable the feature.

    Tools\Options\Environment\Fonts and Colors\
    
    Current Line (Extension)
    Current Line Inactive (Extension)
    

    to change the colors.

    0 讨论(0)
提交回复
热议问题