Navigation Bar

Every PHP file opened in Visual Studio editor has the Navigation Bar at the top of the window. The navigation lists classes contained within the file, and for each class it lists the class members. Entries are sorted alphabetically.

A current selection within the navigation bar corresponds to the keyboard cursor position in the editor window.

Navigation Bar

Using Navigation Bar

The Navigation Bar shows current location within the source code. Choosing a different entry in the navigation bar drop-down navigates to the corresponding declaration. If a drop-down is opened, typing the first letters of a declaration moves the selection to the first entry which its name starts by the typed prefix.

Keyboard Shortcut

By default, there is a keyboard shortcut Ctrl+F2 that moves the focus to the navigation bar. Tab key changes focus between first and second column and arrow keys and Enter can be used to navigate to a different item.