TechBubbles Microsoft Technology BLOG

Visual Studio 2010 IDE Tip–Highlight References

 

Highlight References is a new feature in Visual Studio 2010 IDE which allows you visually to navigate between the references to a symbols in a opened file. This feature only available in Visual Studio 2010.

Highlight the symbol that you want to navigate in the opened file as shown below

image

 

Now press Ctrl + Shift + Down  then your cursor shifts to all instances of the symbol in opened file. Please note this feature is available for active files that is opened files in IDE.

You achieved this feature in earlier versions by right-clicking the symbol and say find all reference which shows find symbols results window as shown below

image

Code focus is the initiative of the Visual Studio 2010 release which wants you to keep focus on code as you are coding. In previous versions you need to go to that file to see the symbol location but in VS 2010 it shows you the line number and symbol used in the results window without losing the developer focus on working code file.

This feature is available for both C# and VB programming languages. An additional feature in Visual Basic is you can even high light IF ELSE code blocks and navigate them in file which is very useful when you have the complex iterative code blocks.

image

If you feel this highlighting feature is distracting and do want to use then go to Tools menu in IDE and select options and uncheck the feature as shown below

image

Share this post :

About the author

Kalyan Bandarupalli

My name is kalyan, I am a software architect and builds the applications using Microsoft .NET technologies. Here I am trying to share what I feel and what I think with whoever comes along wandering to Internet home of mine.I hope that this page and its contents will speak for me and that is the reason I am not going to say anything specially about my self here.

2 Comments

Leave a Reply to Visual Studio 2010 IDE Tip–Highlight... | .NET, Architecture and Visual Studio 2010 | Syngu Cancel reply

TechBubbles Microsoft Technology BLOG

Follow me

Archives

Tag Cloud