Visual Studio中突出显示的变量的环境设置 [英] Environment Setting for Highlighted Variable in Visual Studio

查看:135
本文介绍了Visual Studio中突出显示的变量的环境设置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

环境字体和颜色(我要寻找的是哪里?)

Environment Fonts and Colors (Where's the one I'm looking for?)

我注意到VS具有一项功能,如果您单击一个变量,它将突出显示当前文件中该变量的所有实例.

I noticed that VS has a feature that if you click on a variable, it highlights all instances of that variable in your current file.

使用我的配色方案(深色背景和浅色文本),使突出显示的变量非常不可读.我经过了尝试,试图找出环境字体和颜色"下的哪个设置可以控制突出显示的背景颜色,但是我没有任何运气.有人可以指出我正确的方向吗?

With my color scheme (a dark background with light text) it makes the highlighted variable very unreadable. I've gone through and tried to figure out which setting under "Environment Fonts and Colors" controls the background color of the highlighting, but I'm not having any luck. Can someone point me in the right direction?

因此,一句话:

环境字体和颜色"列表中的哪些内容控制单击变量时发生的突出显示?

What in the list of "Environment Fonts and Colors" controls the highlighting that happens when you click on a variable?

推荐答案

它称为工具>选项>信封>字体和颜色>文本编辑器>高亮显示引用

Tools > Options > Env > Fonts and Colors > Text Editor > Highlighted Reference

结果是:

这篇关于Visual Studio中突出显示的变量的环境设置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆