# Navigation & Go to Definition

Jump between declarations, definitions, package specs, and bodies with one keystroke.

Source: https://www.nexosqlstudio.com/docs/navigation
Language: en
Type: docs

# Navigation & Go to Definition

Nexo SQL Studio implements VS Code's full navigation protocol for Oracle PL/SQL. You can jump between symbols, peek at definitions, and find all references without leaving the editor.

## Go to Definition

With your cursor on any symbol, press **F12** (or `Ctrl+Click`) to jump straight to its definition.

Works for:
- Package member calls -> opens the package spec or body when the symbol is indexed
- Procedure / function calls -> jumps to the `CREATE OR REPLACE` declaration
- Type references -> opens the type definition when available
- Table / view references inside SQL -> opens the live object or local DDL when available

## Peek Definition

Press `Alt+F12` to open a **peek window** inline — see the definition without leaving the current file.

## Go to Symbol in File

Press `Ctrl+Shift+O` to get a quick-pick list of all symbols in the current file:
- Procedures
- Functions
- Cursors
- Type declarations
- Constants

## Go to Symbol in Workspace

Press `Ctrl+T` to search symbols across the entire workspace (all DDL files + open files).

## Workspace Symbols

Press `Ctrl+T` to search indexed PL/SQL symbols across configured search paths and opened workspace files.

## Breadcrumbs

The VS Code breadcrumb bar shows your current position within a PL/SQL package body, so you can orient yourself quickly in large files.

## Package Spec ↔ Body Navigation

Right-click inside a package spec and choose **Open Package Body**, or use **Open Package Definition** from a package body. The commands also appear in the command palette and object-tree context menus.


