Reputation: 118782
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
Reputation: 3015
Try F1 or Ctrl + F1.
Visual Studio Default Settings Shortcut Keys (via the Internet Archive Wayback Machine)
Integrated Help shortcut keys (via the Internet Archive Wayback Machine)
Default keyboard shortcuts in Visual Studio
Default keyboard shortcuts in Visual Studio - Help section
Btw. with F12 you can go to the declaration of selected item in code.
Upvotes: 20
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
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