Navigation Bar

Every PHP file opened in Visual Studio editor has 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.

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

Navigation Bar

Using Navigation Bar

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 first letters of a declaration moves selection to the first entry which name starts by typed prefix.

Keyboard Shortcut

By default, there is a keyboard shortcut Ctrl+F2 that moves 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.