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/cla开发者_如何转开发ss from the editor. Does Visual Studio provide this functionality?
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.
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!
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.
精彩评论