# Navigate

## Overview

This menu item contains all Navigation related commands.

## Commands Summary

A summary of commands available via clicking on this menu item:

| Command                                           | Summary                                                                                                                          |
| ------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- |
| [Go Into](#go-into)                               | Opens the selected element                                                                                                       |
| [Go To](#go-to)                                   | Provides options for navigating to specific items                                                                                |
| [Open from Clipboard](#open-from-clipboard)       | Opens a resource specified in the clipboard                                                                                      |
| [Locate Servoy Resource](#locate-servoy-resource) | Opens [Locate Servoy Resource](https://docs.servoy.com/reference/servoy-developer/object-editors/servoy-resource-locator) wizard |
| [Show In](#show-in)                               | Displays a list of available views where the file can be displayed in                                                            |
| [Quick Outline](#quick-outline)                   | Displays a list with the [Outline](https://docs.servoy.com/reference/servoy-developer/views/outline) view content                |
| [Next Annotation](#next-annotation)               | Moves to the next annotation in the file                                                                                         |
| [Previous Annotation](#previous-annotation)       | Moves to the previous annotation in the file                                                                                     |
| [Previous Edit Location](#previous-edit-location) | Navigates to the last edited location                                                                                            |
| [Next Edit Location](#next-edit-location)         | Navigates to the next edited location                                                                                            |
| [Go to Line](#go-to-line)                         | Jumps to a specific line in the file                                                                                             |
| [Back](#back)                                     | Displays a list of possible locations to navigate back to                                                                        |
| [Forward](#forward)                               | Displays a list of locations where the users navigated forward to                                                                |

## Commands Details

The details for each command available via clicking on this menu item:

### Go Into

Opens the selected element, such as a folder or a detailed view of a resource. This command helps in drilling down into a specific resource or component to inspect or modify its contents.

### Go To

Opens a sub-list of available items:

* **Back**: Navigates back to the previous location in the history
* **Forward**: Navigates forward to the next location in the history
* **Up One Level**: Moves up one level in the resource hierarchy, useful for navigating out of nested structures
* **Previous Member**: Moves to the previous member (e.g., method, variable) in the file; keybinding: `Ctrl+Shift+Up`
* **Next Member**: Moves to the next member in the file; keybinding: `Ctrl+Shift+Down`
* **Matching Bracket**: Finds and navigates to the matching bracket (parenthesis, curly brace) for the current position; keybinding: `Ctrl+Shift+P`

### Open from Clipboard

keybinding: `Ctrl+Shift+V`\
Opens a resource specified by a path or identifier in the clipboard. This command is useful for quickly accessing resources that have been copied from elsewhere.

### Locate Servoy Resource

keybinding: `Alt+Shift+K`\
Opens [Locate Servoy Resource](https://docs.servoy.com/reference/servoy-developer/object-editors/servoy-resource-locator) wizard to find and locate a specific resource within Servoy projects. This command is particularly useful for quickly finding forms, methods, or other resources by name.

### Show In

keybinding: `Alt+Shift+W`\
Opens a sub-list of available views where the file can be displayed in:

* **Solution Explorer**
* **Form Hierarchy**
* **Script Explorer**
* **Outline**
* **System Explorer**
* **Properties**

### Quick Outline

keybinding: `Ctrl+O`\
Displays a list with the [Outline](https://docs.servoy.com/reference/servoy-developer/views/outline) view content.

### Next Annotation

keybinding: `Ctrl+.`\
Moves to the next annotation (e.g., TODO, FIXME, warning) in the file. This command helps in quickly reviewing and addressing annotations scattered throughout the code.

### Previous Annotation

keybinding: `Ctrl+,`\
Moves to the previous annotation in the file. This is useful for reviewing annotations in reverse order.

### Previous Edit Location

keybinding: `Ctrl+Q`\
Navigates to the last edited location in the file. This command is helpful for quickly returning to the previous point of editing.

### Next Edit Location

keybinding: `Ctrl+Alt+Right`\
Navigates to the next edited location in the file. This command is useful for moving forward through the history of edit locations.

### Go to Line

keybinding: `Ctrl+L`\
Opens a dialog to jump to a specific line number in the file. This command is useful for quickly navigating to a known line number, especially in large files.

### Back

keybinding: `Alt+Left`\
Displays a list of possible locations to navigate back to.

### Forward

keybinding: `Alt+Right`\
Displays a list of locations where the users navigated forward to.
