This is an extension supported for VS2017 and higher. It searches and highlights all occurrences of a selected word in a text editor and place carets on the enhanced vertical scrollbar.
For VS2013 and VS2015, please use the same extension at https://marketplace.visualstudio.com/items?itemName=TrungKienPhan.WordHighlight-18643
For VS2010 and VS2012, please use the extension at https://marketplace.visualstudio.com/items?itemName=TrungKienPhan.WordHighlight
Install the extension and verified that it is enabled in the Extensions->Manage Extensions
In the editor window, when you select a word with a mouse or keyboard, this extension will searches and highlights all occurrences of current selected word in the current document.
You can change settings of the extension by go to "Tools" -> "Word Highlight settings..." menu.
2021/10/20 - Add support for VS 2022.
2021/01/11 - Make the extension works with words that start with a symbol (for PowerShell or SQL variables).
2019/05/21 - Add support for VS 2019 release up to version 16.0.4 and fix bug which freeze VS when a one-letter word is highlight (like when "a" is highlighted on a.row).
2019/02/06 - Add support for VS 2019 beta preview release.
2017/12/02 - Updated to set default of option "Keep selection after lost focus" is false.