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

折月煮酒 提交于 2019-12-02 21:37: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.

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

Nenad Banovic

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

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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!