Skip to content

[FEATURE]: Make file references in assistant responses clickable #17816

Closed

Description

@stenci

Feature hasn't been suggested before.

  • I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

OpenCode.Deeplinks.mp4

Responses often mention files and line numbers in plain text. I'd like those references to become clickable in the desktop app so the referenced file can be opened directly, and the app can jump to the referenced line when one is present.

Proposed behavior:

  • File.ext opens the file
  • File.ext:123 opens the file at line 123
  • File.ext:123-130 opens the file and selects that range
  • paths with / or \ should work too
  • if a basename matches multiple files, show a picker instead of guessing

Scope:

  • desktop app only
  • conservative matching rules to avoid false positives
  • no major visual redesign; just make recognized file references interactive

This would reduce friction when reading assistant output and make file navigation much faster.

I already have a working local implementation of this and can open a PR if this approach is aligned. I've attached a short video showing the behavior.

Activity

  1. added
    discussionUsed for feature requests, proposals, ideas, etc. Open discussion
    on Mar 16, 2026
  2. github-actions commented on Mar 16, 2026

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

    Please review those issues before proceeding. If your request is distinct, feel free to clarify how it differs.

  3. stenci commented on Mar 16, 2026

    @stenci
    Author

    Closing as a duplicate of #13430. I opened this before noticing the existing feature request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

discussionUsed for feature requests, proposals, ideas, etc. Open discussionwebRelates to opencode on web / desktop

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions