.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan

Home >> Articles >> General >> Post New Resource Bookmark and Share   

 Subscribe to Articles

Interactive ToolTip using Visual Studio 2010 Productivity Power Tool

Posted By:Kunal Chowdhury       Posted Date: August 14, 2010    Points: 25    Category: General    URL: http://www.dotnetspark.com  

Visual Studio 2010 Productivity Power Tool is a set of extensions for Visual Studio 2010 Professional and above versions which actually improves productivity of developers. In this Tips & Trick, I will show you one nice extension behavior named "Interactive Tooltip", which will make your development life easier.
 

Introduction

Visual Studio 2010 Productivity Power Tool is a set of extensions for Visual Studio 2010 Professional and above versions which actually improves productivity of developers. In this Tips & Trick, I will show you one nice extension behavior named "Interactive Tooltip", which will make your development life easier.

image

 

If you didn't install it till now, you can download it from Visual Studio Gallery. You can also download it directly from here. Read the complete post to know about it more.

Configuring Visual Studio 

Here I will show you how to use the Visual Studio 2010 Productivity Tool for better interactive tooltip for your code. Once installed, it will automatically activate this feature. But in any case, it is not configured or you modified it explicitly then follow the below steps to activate it again:

  • From Visual Studio 2010, go to Tools -> Options

image

  • From the left pane, expand the "Productivity Power Tools" and select "Solution Navigator".

image

  • Now in the right pane of the "Options" dialog check whether the CheckBox with title "Enable interactive tooltips" is checked. If it is not checked, just do it.

Working with the Interactive Tooltip

Once done, you will see the feature of the interactive tooltips in your code view.

Open your code behind file and move your cursor on top of any class. You will see a ToolTip dropdown pops up on the screen as shown below:

image If you click the dropdown, you will see all the member variables, methods and properties of that class listed inside it.

image

You can now browse through the class implementation from the Tooltip as much as you want to drilldown. Have a look into the above snapshot. Not only that, you can search for any specific property, method or member variable like this:

imageAnd, it will filter out the members of the class. This is not only for class, but for all properties, methods etc. too. Have a look into the following snapshot where it shows the Tooltip for the MessageBox.Show() method of my Silverlight application. It shows return type and also the parameter passed to the method.

 

image

I will keep posting various Tips with that, once I explore more. Till then enjoy coding. Smile Cheers.

 Subscribe to Articles

     

Further Readings:

Responses
Author: julodnik         Company URL: http://www.dotnetspark.com
Posted Date: May 19, 2013

What were the designers of this feature thinking when they disabled xml comments? It is very nice to be able to navigate back and forth between the classes, but it is much nicer to get a full multiline description of the method instead of just the first line of the documentation.

I guess the developers of the power tools are so powerful that they hardly ever need more than one line descriptions for its functions.

Post Comment

You must Sign In To post reply
Find More Articles on C#, ASP.Net, Vb.Net, SQL Server and more Here

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend