An answer can point at a file in the chat's workspace folder, at a line inside that file, or at a web page. This page covers what happens when you select one of those links.
A file link in a reply opens the file in a preview in the side panel, beside the chat.
A file link can name a line, or a range of lines, inside the file:
#L24 opens the file at line 24.#L24-L30 opens the file at the start of the range, line 24.The file references in a message you sent are selectable as well, and open in the side panel. So are skills Oda has confirmed; selecting one opens its preview.
Web links (http and https) follow Open chat links in in Settings > General:
When Oda has no built-in browser, web links open in your usual browser whichever value is saved. A modified click, such as Ctrl+click, Shift+click or a middle-click, keeps its usual browser behaviour instead. Chat display settings covers the row.
When a linked file cannot be opened, the chat shows Couldn’t open file, with the reason Oda received
when there is one.
Couldn’t open this file./ compact, do not open anything either.In a preview in the side panel, next to the chat. When the link names a line, the file opens scrolled to it. The chat does not navigate away. Preview files in Oda covers the preview and its viewers.
It opens the file at line 24. A range such as #L24-L30 opens at its first line. When the file is
already open in the side panel, the link jumps to the line in that tab instead of opening a second
copy.
Set Open chat links in to New browser tab in Settings > General; the change applies at once. See Chat display settings.
A modified click, such as Ctrl+click, Shift+click or a middle-click, keeps its usual browser behaviour. The Open chat links in setting applies to unmodified clicks.
Oda could not read the file when you selected the link. The chat shows Couldn’t open file; try the
open again, and if it keeps failing, ask Oda to find the file again.
No. File links open in the side panel, but references to folders and to chats are not preview links, and command names do not open anything.
They are the file references in your own messages and the skills Oda has confirmed. Selecting one opens it in the side panel, like a link in an answer.