Highlight all occurrences of selected word

Free

This extends the editor to highlight all occurrences of a selected word and place a glyph on the left margin.

(51) Review
Visual Studio
2010
Download (63,534)
3/31/2010
1.31
View
E-mail Twitter del.icio.us Digg Facebook
Add To Favorites
Description
Reviews (51)
Q and A (24)
Sign in to Write a Review
Sort By:

by GTE.Sam | at 6:42 PM

I wish I had it long before

by saikrishna.l | April 24 2012

Highlighting all occurrences of selected word is really cool, but if the current selected word color is different from all other occurrences then this extension would be great!

by Kakukogou | April 17 2012

Great!

by Mopdam | April 11 2012

Very useful add on. Any chance this will be supported in VS 11 soon?

by CiroX | March 22 2012

It is not possible to change the color!

by EikeR | March 14 2012

Not recommended, because it's not case-sensitive and the coloring is always light-green, this makes it unusable for dark-colored themes. In dark-colored themes you have a light text color (e.g. white) and when the selcection is light-green on white you can't read the text anymore.

Anyhow, just use the Productivity Power Tools, enable 'Enhanced Scroll Bar' and select the option 'Show the caret location'. You can customize the color with 'Words matching the caret location color in the editor'. It's case-sensitive!

by saber soleymani | February 26 2012

Prevents some of incorrect variable assignments cause by cut and paste.
Useful to work with strings.
Wish a configurable version in future.

by Comaneci | February 04 2012

by marco.ragogna | February 02 2012

It could be a really nice addition but without the possibility to change its default color it is unusable with dark-color themed schemes.

by coder79 | January 23 2012

Great plugin. Highlight color really pops against default color scheme. It would be extremely useful to me if the highlights would stay active even without a selection. Ideally I could highlight multiple words, each with a unique color. À la Source Insight's Highlight Word.

by Xuebobo | December 22 2011

Good work. And I need hilight the words in both splited editer, thanks.

by fourpastmidnight | December 11 2011

Unfortunately, this extension does not provide any means to customize the highlight color, which, given my current text editor color scheme, the color used for highlighting by this extension is no good. Disappointing, really.

And I'm surprised this isn't already part of VS. I mean, Eclipse has this (and believe me, I'm no fan of Eclipse!! But it is a handy feature, I must admit.).

by Steef-Jan Wiggers | November 03 2011

by Ehsan Mohammadi | October 08 2011

by TS-BBR | September 13 2011

This should be a default plugin in Visual.
Much like Notepad++ highlights selected items.

However, this plugin has a HUGE flaw. Internally it tries to select ALL occurrences - even those outside the current view. Which means frequent occurrences, or even trying to select something like a single letter word will cause HUGE lag. Notepad++ does not suffer from this, so it's safe to say this plugin shouldn't either.
Perhaps it'd be better if microsoft implemented it as a default behevior.

Still, even with that knowledge in mind, it's a must have.

by LoudRock | September 08 2011

Simple and Perfect. Much like the Notepad++ function. Thanks Nicholas.

by Alex F. Sherman | September 08 2011

by Sylence89 | August 30 2011

by ctrahan | July 28 2011

Great extension. Thanks.

by PikachuEXE | July 01 2011

I like this.
Since I have this in Notepad++ :P

1 - 20 of 51 Items   
« First   < Prev   1  2  3    Next >   Last »
Sign in to Start a Discussion


  • VS Shell?
    1 Posts | Last Post April 20, 2012
    • Why there is no support of this version?
  • VS 11?
    1 Posts | Last Post March 16, 2012
    • Any hints when it will be available for Visual Studio 11?
  • License Forbids Usage. Change to Academic License?
    1 Posts | Last Post December 14, 2011
    • Legal has communicated to me that the clause "confers no rights" in the License text "prevents anyone's usage of the product." 
      
      Was that the intent? I can't imagine that's the case since it's tagged as "FREE" and available on the Gallery.
      
      WOULD YOU PLEASE CONSIDER MAKING IT AVAILABLE UNDER THE MIT LICENSE (or another "Academic" license)?  If so, would I be able to get that documented via email or could you change the official LICENSE?
  • Visual Studio 2011 support
    1 Posts | Last Post December 06, 2011
    • 1. Download the plugin and save it to your desktop as SelectionHighlight.vsix
      2. Rename the file to SelectionHighlight.zip
      3. Edit the extension.vsixmanifest file in the zip to add a Visual Studio 11.0. It should look like this when you're done:
          <SupportedProducts>
            <VisualStudio Version="10.0">
              <Edition>Ultimate</Edition>
              <Edition>Premium</Edition>
              <Edition>Pro</Edition>
            </VisualStudio>
            <VisualStudio Version="11.0">
              <Edition>Ultimate</Edition>
              <Edition>Premium</Edition>
              <Edition>Pro</Edition>
            </VisualStudio>
          </SupportedProducts>
      4. Save this new extension.vsixmanifest to the desktop (you can't save directly into the zip folder)
      5. Copy the new extension.vsixmanifest back into the SelectionHighlight.zip
      6. Rename SelectionHighlight.zip to SelectionHighlight.vsix
      7. Doubleclick SelectionHighlight.vsix to install it into VS2011
      
      Enjoy!
  • Cursor vanishes while editing ASPX page and keep directional keys pressed
    1 Posts | Last Post October 26, 2011
    • If I edit an ASPX page and I keep directional key pressed to move the cursor inside the page/editing row, the cursor will vanish pretty fast and the only way to get it back is to click with the mouse somewhere inside the page. Funny thing, this is happening for Left, Right or Up but not for Down! I disabled the extension and normal behavior was restored, enable it and again the same problem. Any ideas? 
  • Changing the color
    5 Posts | Last Post October 26, 2011
    • Like others here I use a black(dark) theme and the color choice of Lime Green does not work for me.  Is there anyway to either allow us to change to color or maybe release the source so we can?  I like the way this works compared to the built in IDE method but for me it iends up being LimeGreen abckground with white foreground which is not readable.
    • Please fix this or release the source code so we can.
    • In addition to allowing the change of the background color, please make the currently selected item distinct from the others by using a different color or shade.
    • Not recommended to those who use dark backgrounds with lighter fonts.
    • it's a super hackey way to do it, but as stated below you can edit the hex of the DLL (%LocalAppData%\Microsoft\VisualStudio\10.0\Extensions\Microsoft\Highlight all occurrences of selected word\1.31\SelectionHighlight.dll), hopefully an update is released that works better than that, but this gets the job done
  • Does not correctly work with "Productivity Power Tools"
    8 Posts | Last Post July 19, 2011
    • Does not correctly work with "Productivity Power Tools".
      When "Highlight all occurrences of selected word" enabled CTRL+Click (goto reference) NOT WORK
    • I second this
    • Nicholas, can we have a fix for this please.
    • Confirmed issue. Need a fix for that.
    • It does work...it just makes it a pain because it messes with the click action
      
      You have to click an in a very specific way (I'm not sure but most of the time you need to click 2 or 3 times very fast for it to work...but not always)
      
      as of now i am worked to choose between goto reference and Highlighting so nauraly I cannot use this extension!!!!! FIX IT!
    • Yes, please publish source or allow for:
      a) changing color
      b) breaking control click on power tools
      
      Thank you for this extension: I do find it very useful except for the 2 requests above.
      Unfortunately, the color and break are enough of a headache to warrant removal.
    • +1 vote to change the conflict with power tools cntl+click.
    • Yes... Conflicts.
      
      It's a shame, cos it's more usefull the goto reference.
      I had to disable this plugin.
  • Case Sensitive
    2 Posts | Last Post July 12, 2011
    • I've been used v1.31 and seens like it isn't case sensitive.
      var distance = MyObject.Distance;
      
      In this example "distance" and "Distance" was hightlighted.
      
      Very good work.
      
      Thank's
    • Is there a way of turning case sensitivity on/off?  
      Personally, I would prefer a case sensitive version.
  • Does this tool work for c++?
    1 Posts | Last Post February 23, 2011
    • Does this tool work for c++ project?
  • Don't highlight the actual selected text
    2 Posts | Last Post January 19, 2011
    • Nice utility, thanks!
      
      Can you make it not highlight the actual selected text? I like to easily see where the caret is, what's going to get cleared if I hit delete/cut, etc. Cheers.
       
      
      
    • While this utility seems nice at first it will become a nuisance rather quickly when you are in a "Find and Replace" session. You can not see what is about to be replaced anymore because you can't see what is currently selected.
      
      
1 - 10 of 24 Items   
« First   < Prev   1  2  3    Next >   Last »