使用 ReSharper 突出显示所选对象的所有出现位置

发布于 2024-09-05 04:37:13 字数 387 浏览 3 评论 0原文

我曾经使用 RockScroll(或 MetalScroll),但是当我开始使用 ReSharper 时,我的 RockScroll 开始出现一些错误。好吧,这是另一个讨论的范围 https://stackoverflow.com/questions/1089493/is- rockscroll-与-resharper兼容

但我的问题是相关的,因为现在没有 MetalScroll 我无法突出显示所有出现的情况,我认为这在许多情况下非常有用。

有人有另一个适用于 VS2010 或适用于 ReSharper 的插件,可以实现相同或更好的功能吗?

I was used to use RockScroll (or MetalScroll), but when I started to use ReSharper my RockScroll start to show some bugs. Well, this is scope to another discussion https://stackoverflow.com/questions/1089493/is-rockscroll-compatible-with-resharper.

But my problem is related, because now without MetalScroll I can't highlight all occurrences, what I consider very useful in many situations.

Someone have another plugin for VS2010 or for ReSharper that do the same or better?

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

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

发布评论

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

评论(3

像极了他 2024-09-12 04:37:13

我认为您正在寻找“突出显示文件中的用法”这可以通过 Shift+Alt+F11 访问或 Ctrl+Shift+F7,具体取决于您使用的是 VS 键绑定还是 InteliJ 绑定。使用 Ctrl+Alt+向上/向下Ctrl+ Alt+PageUp/PageDown 转到下一个和上一个亮点。

您还可以使用 Ctrl+Alt+G 组合键调出要跳转到的菜单。这可用于将光标移动到下一个出现的位置。

I think you are looking for "Highlight usages in file" This can be access via Shift+Alt+F11 or Ctrl+Shift+F7 depending if you are using VS key bindings or InteliJ bindings. Use either Ctrl+Alt+Up/Down or Ctrl+Alt+PageUp/PageDown to go to next and previous highlights.

You can also use the Ctrl+Alt+G combo to bring up a menu of what to jump to. This can be used to move the cursor to the next occurrence.

方觉久 2024-09-12 04:37:13

您应该尝试Visual Studio 2010 生产力强力工具。还有其他版本,至少有一个用于 Visual Studio 2013 和 Visual Studio 2015 的另一个。

它与 ReSharper 配合得很好,并且使选定的文本匹配在编辑器和滚动条以及许多其他功能中突出显示。

You should try Productivity Power Tools for Visual Studio 2010. There are other versions, at least one for Visual Studio 2013 and another one for Visual Studio 2015.

It plays nicely with ReSharper and has this selected text matches highlighting both in the editor and the scrollbars among many other features.

心如荒岛 2024-09-12 04:37:13

尝试 Visual Studio 扩展 RockMargin它会突出显示双击时出现的情况(就像大多数 IDE 一样)。与 VS 2015 和 ReSharper 配合良好。

Try the visual studio extension RockMargin which highlight the occurrences on double click (like most IDEs). Works fine with VS 2015 and ReSharper.

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