8

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?

Community
  • 1
  • 1
Custodio
  • 8,594
  • 15
  • 80
  • 115

3 Answers3

21

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.

Hulk1991
  • 3,079
  • 13
  • 31
  • 46
Jason
  • 3,736
  • 5
  • 33
  • 40
  • 2
    I think one of these shortcuts might be mistaken. The default Visual Studio 2010 and 2012 keybinding to navigate between highlighted occurrences (when Tools > Text Editor > C# > Advanced > "Highlight references to symbol under cursor" is enabled) is CTRL+SHIFT+Up/Down. – Nick Oct 18 '13 at 22:12
  • Its very troublesome to press this key combination every time where most IDEs do this on double clicking the word. Try the VS extension RockMargin mentioned in my answer. – tharinduwijewardane Feb 09 '17 at 09:56
1

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.

WillCroPoint
  • 106
  • 2
0

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

tharinduwijewardane
  • 2,593
  • 2
  • 16
  • 28
  • For VS2015 there's [RockMargin2015](https://marketplace.visualstudio.com/items?itemName=swaxx.RockMargin2015). But it overrides the map-mode scrollbar with its own (inferior) implementation and changes theme colors. Would be great to have an extension that better plays with the IDE – Matt Thomas Feb 14 '17 at 14:34