Skip to content

The Lovable Feature AtlasIndependent community catalog

Atlas
Workflow

Reference exact lines of code in chat

GAWorkflowReleased Jun 2026All plansSource: lovable.dev

Reference exact lines of code in chat is Lovable's Workflow feature: Point to precise lines of code in discussions.

You can now reference exact code lines in chat, enhancing clarity and reducing confusion when discussing code changes. Simply click on the line number in the code editor and reference it in chat.

Example workflows

Starting points built from this record, not transcripts of a run. Each prompt is written the way it should be sent, as one paragraph, and each is worth editing before you send it.

  1. Stand it up from scratch

    You have read the record and want Reference exact lines of code in chat working in a real project rather than a sandbox.

    Set up Reference exact lines of code in chat in this project — point to precise lines of code in discussions. Walk it end to end, tell me exactly what you changed, and flag anything I have to switch on myself before it works.

    Expected outcome

    A working setup, a plain list of what changed, and a short list of anything left for you to switch on. Check that list before assuming it is done.

  2. Point the agent to the exact line causing a bug

    The record lists this as one of the jobs Reference exact lines of code in chat is meant for, so it is a fair first test of whether it fits your app.

    In this project, use Reference exact lines of code in chat for point the agent to the exact line causing a bug. Build the smallest version that a real user could complete end to end, keep the change scoped to that path, and tell me how to test it myself.

    Expected outcome

    One complete path a user can walk, the files and settings that changed, and the steps to test it. Walk it yourself before you ship it.

  3. Review it before you publish

    Reference exact lines of code in chat is wired in and you are about to put it in front of people. This is the pass that catches the half-configured version.

    Review how this project uses Reference exact lines of code in chat before I publish. Check add line references in chat and drag to select multiple lines, list anything that is missing, misconfigured, or only half wired, fix what is safe to fix, and tell me what you left alone and why.

    Expected outcome

    A findings list split into what was fixed and what was left, with a reason for each. Anything left alone is yours to decide on.

  4. Discuss a specific code change without describing it in words

    A second job the record lists for Reference exact lines of code in chat, useful once the first path works.

    Extend this project so Reference exact lines of code in chat also covers discuss a specific code change without describing it in words. Reuse what is already wired rather than adding a parallel setup, and tell me what you reused and what is new.

    Expected outcome

    A second path built on the same setup, plus a note on what was shared and what was added.

Capabilities

  • Add line references in chat
  • Drag to select multiple lines
  • Use shortcut keys for reference
  • Jump to code lines from messages
  • Contextual reference management
  • Enhanced collaboration on code discussions

Use cases

  • Point the agent to the exact line causing a bug.
  • Discuss a specific code change without describing it in words.
  • Select a block of lines and reference them in one message.

The link to lovable.dev uses a referral code. The atlas is otherwise unsponsored.

Frequently asked

  • What is Reference exact lines of code in chat?

    Reference exact lines of code in chat is Lovable's Workflow feature: Point to precise lines of code in discussions. You can now reference exact code lines in chat, enhancing clarity and reducing confusion when discussing code changes.

  • Is Reference exact lines of code in chat GA or in beta?

    Reference exact lines of code in chat is generally available (GA) on Lovable.

  • What Lovable plan includes Reference exact lines of code in chat?

    Reference exact lines of code in chat is available on all Lovable plans.

  • When did Reference exact lines of code in chat launch?

    Reference exact lines of code in chat launched on Jun 10, 2026.

Related in Workflow

See all →
Post on XLinkedIn

What Lovable Shipped

One email a week. Every new feature. Nothing else.

A curated Monday roundup of every Lovable feature added or promoted to GA in the past week — pulled straight from the atlas.

No spam. Unsubscribe anytime. Independent, not affiliated with Lovable AB.