# Navigate Programmatic Components in a Fortran File

You can quickly navigate the code of the file currently open in the source editor using the Tree Navigation Window. The Tree Navigation Window displays the following components of the file as nested, selectable nodes in a tree:

- Programs
- Modules
- Subroutines with signature
- Functions with signature
- Types
- Interfaces

Nodes at each nested level are sorted alphabetically.

Any changes you make to a file, such as adding or deleting a component or changing a signature, are immediately reflected in the tree.

To navigate a file:

1. Select View > Other Windows > Tree Navigation Window.
   The Tree Navigation Window tab appears near the Solution Explorer tab. When no Fortran project is opened, the Tree Navigation Window is empty. When you open a Fortran file in the source editor, all components of the file appear in the window.
2. Select a node in the tree to view the corresponding component in the source editor.
   The cursor appears at the correct location in the file.

Parent topic: Use Microsoft Visual Studio