gpt4 book ai didi

javascript - 关闭 JavaScript 中的 Visual Studio 引用突出显示

转载 作者:行者123 更新时间:2023-11-29 09:52:20 28 4
gpt4 key购买 nike

有什么方法可以关闭 JavaScript 的 Visual Studio token 引用突出显示(即使是通过 hack?)

我知道如何按照本指南(http://msdn.microsoft.com/en-us/library/vstudio/ee349251(v=vs.100).aspx)为 C# 关闭它,看起来在 JavaScript 选项卡中没有类似的可用选项,这似乎是一个很大的疏忽。

这很烦人,按照我的喜好会出现太多闪烁,尤其是在尝试复制行然后重命名时,尤其是使用 JSON 表示法中的大量属性名称时,或者当您在共享对象上移动箭头键时显示在多行上。

例如。

enter image description here

最佳答案

我不认为这适用于所有语言。 JS 就是其中之一。作为解决方法,如果您不介意也禁用其他语言,为什么不更改突出显示颜色以匹配您的编辑器的背景颜色。不幸的是,这不适用于特定语言,但对编辑器来说很常见。这样做与关闭高亮引用效果相同。以下是您在问题中提到的同一篇 MSDN 帖子。

To change the reference highlighting color

On the Tools menu, click Options.

In the Options dialog box, expand Environment, and then click Fonts and Colors.

In the Show settings for box, click Text Editor.

In the Display items list, click Highlighted Reference.

In the Item background box, click the appropriate color.

关于javascript - 关闭 JavaScript 中的 Visual Studio 引用突出显示,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20184704/

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