Keyword highlighting on selection in Visual Studio

2019-04-09 20:20发布

问题:

A little while ago I managed to get Visual Studio 2008 (C++) into a state where, if I would select a keyword (or any symbol for that matter), by either double clicking on it or highlighting it, all other instances of that symbol within the current file would become highlighted too.

This was a really useful feature.

Since then it's gone away, and I don't know how to get it back.

Please help.

@Sander - that'll be it. Thanks!

回答1:

I think you've installed RockScroll. It also lights them up in the graphical scrollbar (its main feature)



回答2:

I use MetalScroll, it's like RockScroll only better; it doesn't interfere with Resharper (a VS must-have) and you can set it up to only highlight if you hold down 'alt' when you double-click.