Skip to content
| Marketplace
Sign in
Visual Studio>Tools>Word Highlight With Margin
Word Highlight With Margin

Word Highlight With Margin

Trung Kien Phan

|
69,261 installs
| (53) | Free
Highlight all occurrences of a selected word and display carets on the enhanced vertical scrollbar at the right margin.
Download

About

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

 

Installation

Install the extension and verified that it is enabled in the Extensions->Manage Extensions

 

Usage

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.

  

 

Settings

You can change settings of the extension by go to "Tools" -> "Word Highlight settings..." menu. 

  • Background color of occurences.
  • Border color of occurences.
  • Background color of selected word.
  • Border color of selected word.
  • Display color of the caret. 
  • Enable/disable caret.
  • Enable/disable case sensitive searching.
  • Enable/disable allow single character (e.g. "e").
  • Enable/disable include comments text.
  • Enable/disable matching for the entire word by search or a part of word.
  • Enable/disable searching only when select whole word or part of word.
  • Enable/disable searching for letter or digit only.
  • Enable/disable keep selection after lost focus selected word. In the case of keep selection is enabled, removing the selection by double click on the empty span.

  

 

Change logs

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.

...

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft