Visual Studio IDE 自定义 - 断点字符串突出显示

发布于 2024-09-13 14:02:04 字数 252 浏览 1 评论 0原文

我试图让 IDE 字体和颜色更加明显,但我坚持最后一个细节:所选断点的字符串突出显示。

给出以下示例:

Session["mySessionVar"] = someValue;

“mySessionVar”的文本 - 包括引号 - (在我的例子中)在亮粉色背景上有黄色文本 - 几乎无法阅读。我的问题是我找不到任何方法将断点(启用)字符串、键或参数设置为更具可读性的设置。

还可以做到吗?

I'm trying to make my IDE fonts and colours more visible, but I'm stuck on one last detail: the string highlighting for selected breakpoints.

Given the following example:

Session["mySessionVar"] = someValue;

The text for "mySessionVar" - including the quote marks - has (in my case) yellow text on a bright pink background - almost impossible to read. My problem is I can't find any way to set the Breakpoint (Enabled) strings, keys or parameters to a more readable setting.

Can it even be done?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

单身情人 2024-09-20 14:02:04

我猜您已经尝试更改 Tools->Options->Environment->Fonts and Colors 中的各种“断点”设置,但即使这些设置也不会导致字符串不同比断点中任何其他文本的颜色。对于断点,其目的是断点中所有内容的前景色都被断点前景色覆盖。

您是否安装了可以更改注释格式的扩展程序,或者您是否只是通过更改字体和颜色中的选项而进入这种状态?

I'm guessing you've tried changing the various "Breakpoint" settings in Tools->Options->Environment->Fonts and Colors, but even those wouldn't leave the string a different color than any other text in the breakpoint. The intent, for breakpoints, is that the foreground color of everything in the breakpoint is overridden by the breakpoint foreground color.

Do you have an extension installed that changes the formatting for comments, or did you get into this state just from changing around options in Fonts and Colors?

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文