> ## Documentation Index
> Fetch the complete documentation index at: https://docs.paradime.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Go to Definition

> Navigate your dbt™ project instantly: peek or jump to any model, source, or macro definition, and find every reference from the Code IDE editor.

export const Arcade = ({src, title}) => <div style={{
  position: 'relative',
  paddingBottom: 'calc(56.2225% + 41px)',
  height: 0,
  width: '100%'
}}>
    <iframe src={src} title={title} frameBorder="0" loading="lazy" allow="clipboard-write" allowFullScreen style={{
  position: 'absolute',
  top: 0,
  left: 0,
  width: '100%',
  height: '100%',
  colorScheme: 'light'
}} />
  </div>;

The Code IDE understands the relationships in your dbt™ project, so you can move between models, sources, and macros without hunting through the file tree.

## Code lens on ref() and source()

When your cursor is on a line with a `ref()` or `source()` call, inline actions appear above it:

* **Peek ref{}**: preview the referenced model inline, without leaving your current file.
* **Go to ref{}**: open the referenced model in a new tab.
* **View references**: list every file that references the current model.

## Right-click navigation

Select any source, model, or macro name and right-click to choose:

* **Go to Definition** (`⌘F11`): opens the file where it is defined.
* **Peek Definition**: shows a preview of the definition inside your current file.
* **Go to References** (`⇧F12`): lists everywhere it is used across your project.

<Arcade src="https://demo.arcade.software/4GQ331kuBrRzhvDQLy2a?embed&embed_mobile=tab&embed_desktop=inline&show_copy_link=true" title="'Peek' and 'Go To' Definition" />


## Related topics

- [Context Menu](/products/code-ide/write-code/context-menu.md)
- [Explore Your Project](/products/code-ide/explore/index.md)
- [Write Code](/products/code-ide/write-code/index.md)
- [Code IDE](/products/code-ide/index.md)
- [Working with Sources](/guides/dbt-fundamentals/getting-started-with-dbt/working-with-sources.md)
