Casebash
Casebash

Reputation: 118782

Jump to Documentation for a function/class in Visual Studio

In Eclipse and Xcode it is possible to jump directly to the documentation for a function/class from the editor. Does Visual Studio provide this functionality?

Upvotes: 28

Views: 14706

Answers (3)

Kangkan
Kangkan

Reputation: 15571

I am not aware of Eclipse. But in visual studio, you can do the documentation within the studio. You can document the class or a method by putting the details in the comment section (with each line starting with a '///') like the following:

/// <summary>
/// Adds one item at a time to the cart
/// </summary>
/// <param name="itemToBuy">Selected item from the catalog</param>
/// <param name="qnty">Quantity bought</param>
public void AddItem(item itemToBuy, int qnty, double price, bool isImported)

This is for doing documentation for your own code.

To get help, or see documentation, pressing F1 or Ctrl+F1 while keeping the cursor on top of the item takes you to the MSDN.

Upvotes: 2

EdgarVerona
EdgarVerona

Reputation: 1588

Ah, try hitting F1 when your cursor is over a function or class. That should initiate a search in the MSDN documentation. Give that a shot!

Upvotes: 2

Related Questions