Loading the documentation…

Mention files, folders and chats

Type @ in the message box to point Oda at something outside your message: a file or folder of the workspace, a helper this chat has started, or an earlier chat. Your pick becomes a reference chip in the message, and Oda opens it with its own tools while it works. This page covers the @ menu; Slash commands and references covers the / side of the same menu.

Open the menu and pick an entry

  1. Type @, or @ followed by a few letters. The menu opens above the message box.
  2. Keep typing to narrow the list; rows you have already seen stay while it refreshes.
  3. Pick an entry with Enter, or by clicking it. The pick is added to the message you are writing; nothing is sent yet.
  4. Leave the menu with Escape or Shift+Tab without picking anything.

How file suggestions are found

As you type after @, Oda suggests paths from the chat's folder:

Folders the suggestions skip

To keep the list short, the suggestions skip common build and cache folders:

.git, node_modules, dist, build, out, coverage, target, .next, .nuxt, .turbo, .venv, __pycache__, .pytest_cache, .mypy_cache and .gradle.

These are the skips of the @ suggestions. Oda's file searches keep their own list; see Finding files and text.

Browse a folder before you pick

Folder rows end with a slash (/) and offer two actions:

  1. Enter, or a click on the row, picks the folder itself.
  2. Tab on the highlighted row, or a click on the row's chevron, looks inside instead: the menu stays open and lists the folder's contents.

What a pick leaves in your message

When an entry is missing

What happens when you send

Questions, answered

What can I point Oda at with the @ menu?

Files and folders of the workspace, the helpers this chat has started, and your earlier chats. The groups appear in this order: Files & folders, Subagents, Sessions.

Why did the @ menu not open when I typed it?

The menu needs @ at the start of the message, after a space, or after punctuation. Inside an address such as user@host, or straight after a word or number, the @ stays ordinary text, and no menu opens.

What does a mention look like once it is in my message?

A folder is written with a trailing slash, such as @src/; a file becomes a reference to that file, in quotes when its path contains spaces, such as @"docs/design notes.md". A chat becomes a chip with the chat's title, and a helper from Subagents becomes a reference to that helper. A chip is one piece: the arrow keys step over it in one move, and Backspace removes it whole. Clicking a file reference opens its preview; see Preview files in Oda.

How do I mention a path with spaces?

Type the path in quotes, for example @"src/my folder". With quotes, the menu searches files and folders only, and never your chats.

How do I browse a folder before picking a file from it?

Press Tab on the highlighted folder row, or click the row's chevron. The menu stays open and lists the folder's contents, with a breadcrumb starting at Workspace; clicking an earlier step takes you back up. The folder you are in is not clickable. Pick a file with Enter, or drill deeper with Tab again.

What do the folder and time next to a chat mean?

A chat that sits in another folder is listed with that folder and a short age, such as 2h or 3d. A chat in the folder you are working in shows only the age, and when Oda cannot tell the folder the row reads (no cwd).

Why is a file I expected not in the list?

A file you have just created can be missing for a moment while Oda refreshes its list of the chat's folder; type a little more of the name. Build and cache folders are skipped, the list holds up to 50,000 entries, and entries Oda cannot reference are left out instead of shown broken.

Which folders do the suggestions skip?

Build and cache folders: .git, node_modules, dist, build, out, coverage, target, .next, .nuxt, .turbo, .venv, __pycache__, .pytest_cache, .mypy_cache and .gradle. lib is not skipped, and Oda does not read your .gitignore files to decide.

Why does a hidden file, such as .env, not appear in the suggestions?

Hidden files stay out of the suggestions unless you begin what you type with a dot: @.env offers it.

Does mentioning a file make Oda read it?

No. A mention is a pointer at a path; Oda reads the file only when the task needs it, and the read appears as its own step (Reading files and images).

Can I point Oda at a file outside the chat's folder?

Yes, by writing the path yourself: a relative path resolves from the chat's folder, and an absolute path names a file or folder on this computer. The @ suggestions stay inside the chat's folder; to browse it, open Workspace files in the side panel (Browse workspace files).

Why did my run stop when I mentioned an earlier chat?

A chat reference is prepared once your message is sent. If Oda cannot open that chat, the turn stops with the reason.