Visual Studio 2017 & 2019 highlight occurrences of selected word in scrollbar

ToFo picture ToFo · Apr 5, 2017 · Viewed 28.4k times · Source

When I mark a word (of any kind) I would like all occurrences (in that particular file) of that word to be highlighted in the scrollbar on the right hand side.

This was a feature in VS2015 and VS2013. I cannot imagine that they removed it, I just don't know how to switch it on. None of the apparent possibilities in Tools -> Options (image) helps me. enter image description here

Ps. I am using Visual Studio 17 Professional. Thank you.

Answer

Richard picture Richard · Apr 5, 2017

This was a feature in VS15 and VS13.

Actually it was not.

It is a feature of the Productivity Power Tools extension. That extension is now just an installer for separate single feature extensions. I think you'll be wanting Match Margin.