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!
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!
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.
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.).
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.
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?
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!
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?
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.
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.
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".
When "Highlight all occurrences of selected word" enabled CTRL+Click (goto reference) NOT WORK
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.
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
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.