Matt Thomas
Matt Thomas

Reputation: 5804

How can I mark all references to a highlighted word in the scroll bar?

What options are there for getting Visual Studio 2015 to mark all references in the scroll bar to a highlighted word?

Upvotes: 0

Views: 626

Answers (2)

rainonrooftop
rainonrooftop

Reputation: 1

Productivity Power Tools shows references in a mapped scroll bar in a fashion similar to the above example. I don't believe it provides the ability to customize the colors for those references. Hope this helps.

Upvotes: 0

Matt Thomas
Matt Thomas

Reputation: 5804

Productivity Power Tools 2015 will do this; with the "Match Margin" option enabled, it puts purple dots in the scroll bar for all the matches:

Demonstration of the "Match Margin" feature with map-mode scroll bar

At first I tried the RockMargin2015 extension since other SO answers (for older IDE versions) recommended older versions of that, but I found that RockMargin substitutes the map-mode scroll bar with its own (inferior) version and changes theme colors. I didn't like how poorly it cooperated with the IDE, so I switched to the above.

Upvotes: 1

Related Questions