Quick Inline Edit in Action

Overview

Quick Inline Edit is a terminal-based AI assistant that’s very fast and accurate at writing dbt code. It has context into the full lineage of models based on the selected model by default, making it incredibly powerful for dbt development.

Key Features

  • Full Lineage Context: Understands the complete model lineage and dependencies
  • Context Visibility: View the context through the lineage bar at the top of the dbt model content
  • Sources Integration: Click to see and include source definitions in context
  • Multi-file Editing: Edit multiple files simultaneously across the lineage
  • Q&A Capability: Answer questions about model relationships and lineage
  • Real-time Speed: The attached GIF is not sped up - edits happen instantly

How to Use

  1. Select a model to automatically load its lineage context
  2. Access Quick Inline Edit through the terminal:
    • Type / followed by your edit request (e.g., /remove comments)
    • Or type /edit and press Enter to enter full edit mode
  3. Ask questions or request edits - The AI understands the full lineage and can answer questions about model relationships
  4. View the lineage bar at the top to see what context Quick Inline Edit has
  5. Use Cmd+Enter to accept all suggested edits across multiple files
Quick Inline Edit can modify multiple files at once based on lineage relationships, making complex refactoring tasks much faster.

Example Use Cases

Context Understanding

Quick Inline Edit’s power comes from its deep understanding of your dbt project:
  • Model Dependencies: Knows which models depend on each other
  • Source Definitions: Understands your source tables and their schemas
  • Column Lineage: Tracks how columns flow through transformations
  • Business Logic: Understands the purpose and transformations in your models

Multi-File Editing

When you make changes that affect multiple models, Quick Inline Edit can:
  • Update all related models simultaneously
  • Maintain consistency across your lineage
  • Ensure referential integrity
  • Apply consistent naming conventions
Use Cmd+Enter to accept all suggested changes across multiple files at once.