How to change the current line color in Visual Stu

2019-03-11 13:46发布

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 how I can change this? Or even disable it if there is no way to change it.

4条回答
Deceive 欺骗
2楼-- · 2019-03-11 14:26

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

查看更多
混吃等死
3楼-- · 2019-03-11 14:28
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.

查看更多
来,给爷笑一个
4楼-- · 2019-03-11 14:33

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

查看更多
我欲成王,谁敢阻挡
5楼-- · 2019-03-11 14:50
登录 后发表回答