gpt4 book ai didi

visual-studio-2010 - 如何在 VS2010 中更改匹配大括号的高亮颜色

转载 作者:行者123 更新时间:2023-12-04 16:55:15 24 4
gpt4 key购买 nike

我需要在 VS2010 中更改匹配大括号的突出显示颜色。

我尝试了以下设置,但根本不起作用。

enter image description here

欢迎任何建议。

谢谢

最佳答案

来自 Microsoft

...There are two Fonts and Colors options for brace matching: "Brace matching (Highlight)" and "Brace matching (Rectangle)". Not all languages use both settings. Each language implements its own brace matching functionality, which can lead to inconsistencies in which options are used in which language. For example, C#, HTML, CSS, and a few others do not use the "Brace matching (Highlight)" option at all, which is why it doesn't do anything when you change it in those file types. However, "Brace matching (Rectangle)" should still work for C#, HTML, and CSS, which it sounds like is consistent with your experience. Some other languages will have the reverse behavior, i.e. "Brace matching (Rectangle)" will do nothing but "Brace matching (Highlight)" will work...



不是一个好的答案,但这就是 VS2010 现在的立场。顺便说一句,当我改变
“大括号匹配(矩形)”背景颜色,它在 C++ 和 C# 中适用于我,如果我的光标紧靠左大括号的左侧或紧靠右大括号的右侧。

祝你好运。

关于visual-studio-2010 - 如何在 VS2010 中更改匹配大括号的高亮颜色,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8207090/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com