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?
+1
A:
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!
EdgarVerona
2010-05-18 05:10:26
Strange, F1 wasn't working before
Casebash
2010-05-18 05:33:01
+1
A:
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.
Kangkan
2010-05-18 05:12:58
+1
A:
Try F1 or Ctrl + F1.
Visual Studio Default Settings Shortcut Keys
Also try google.com next time ;-)
Btw. with F12 you can go to the declaration of selected item in code.
Mike
2010-05-18 05:17:20
I did Google, its just that F1 wasn't working before (I think I was mouse overing rather than clicking)
Casebash
2010-05-18 05:44:34