Skip to main content
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.