Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Jump to Documentation for a function/class in Visual Studio

Tags:

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?

like image 503
Casebash Avatar asked May 18 '10 05:05

Casebash


People also ask

How do I navigate code in Visual Studio?

You can use the navigation bar (the drop-down boxes at the top of the code window) to navigate to code in a codebase. You can choose a type or member to go directly to it. The navigation bar appears when you edit code in a Visual Basic, C#, or C++ code base.

How do I add a document in Visual Studio?

From the menu bar, choose Tools > Options to open the Options dialog box. Then, navigate to Text Editor > C# (or Visual Basic) > Advanced. In the Editor Help section, look for the Generate XML documentation comments option.

How do I go back to a call in Visual Studio?

In Visual Studio Code, you can also use Alt + Left-Arrow to return to your original location in the source code after navigating with F12.


2 Answers

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.

like image 111
Mike Avatar answered Dec 08 '22 00:12

Mike


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!

like image 39
EdgarVerona Avatar answered Dec 08 '22 00:12

EdgarVerona