Visual Studio 插件;突出显示与所选单词匹配的所有单词?

发布于 2024-10-07 19:18:33 字数 174 浏览 0 评论 0原文

使用NotePad++时,选择某个单词,它会自动突出显示所有匹配的单词?

alt text

有谁知道是否有 Visual Studio 插件可以做到这一点?或者是否有任何隐藏的环境设置可以做到这一点?

While using NotePad++, and select a certain word, it automatically highlights all matched words?

alt text

Does anyone know if there is a Visual Studio addin that can do this? or are there any hidden environment setting that can do this?

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

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

发布评论

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

评论(3

风吹过旳痕迹 2024-10-14 19:18:33

检查以下插件
高效生产力工具插件
Productivity Power Tools 中突出显示的背景颜色可在
工具 -> 选项 -> Productivity Power Tools -> 增强滚动条 -> 编辑器中与插入符号位置颜色匹配的单词下找到。

使用突出显示所选单词插件。

Check following addins
Productivity Power Tools addin
The background colour of the highlight in Productivity Power Tools is found under
Tools->Options->Productivity Power Tools->Enhanced Scroll Bar->Words Matching The Caret Location Color In The Editor.

or

Use Highlight selected word addin.

愿得七秒忆 2024-10-14 19:18:33

我相信 Visual Assist 可以做到这一点。可以在“设置”->“设置”中打开此功能。重构->自动突出显示对光标下符号的引用。

替代文本

I believe Visual Assist can do that. This can be switched on in Settings -> Refactoring -> Automatically highlight references to symbol under cursor.

alt text

才能让你更想念 2024-10-14 19:18:33

这是 VS 2010 自动完成的事情,但如果您使用旧版本的 VS,您可以通过第三方插件获得该功能。例如,我曾经使用一个名为 RockScroll 的加载项,它可以突出显示源文件中的用法(通过双击单词)http://www.hanselman.com/blog/IntroducingRockScroll.aspx

ReSharper 还通过 Cntl + Shft + F7 内置了该功能

This is something that is automatically done by VS 2010 though if you are using an older version of VS you can get that functionality with third-party addins. For example I used to use an add-in called RockScroll that could highlight usages in a source file (By double clicking on the word) http://www.hanselman.com/blog/IntroducingRockScroll.aspx.

Also ReSharper has that functionality built into it with Cntl + Shft + F7

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