Tam&#225&#59;s

Hello All,

Is there a way to set up the text editor to highlight every occurance of a variable on which the cursor is standing at the moment

Best regards,

Tamas



Re: Visual Studio Setup and Installation Highlight variable occurrances - Text Editor

Luke Westendorf MSFT

Not exactly, but are you familiar with the "Find All References" feature in VS 2005 If you right click on a variable and select "Find All References" (or just hit Shift+F12) a window will appear at the bottom of the IDE that lists all occurences of this variable in your project. Hope this helps.

Thanks,

Luke






Re: Visual Studio Setup and Installation Highlight variable occurrances - Text Editor

Paul D.

Hi, I look for the same feature in Visual Studio 2005.

But don't found this.

Helpful would be something like the real variable used highlighting as below if I set the cursor to 'index'.

for (int index=0; index < 5; index++)

{

if (index < 3)

DoTheJobBelow3();

else

DoTheJobForOthers();

}