[FEATURE]: open file from @file input #8748

Open
opened 2026-02-16 18:10:44 -05:00 by yindo · 1 comment
Owner

Originally created by @jfortez on GitHub (Feb 6, 2026).

Originally assigned to: @adamdotdevin on GitHub.

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

When a file (such as a component) is attached to the @file, sometimes you want to click on the attached @file to open it from the right panel. for UX

Image

Expected Behavior:
After attaching an @file, either in the prompt input or after sending the message, you must click on the @file badge and it should appear in the right panel. This is similar to opening the command palette (Ctrl + Shift + P), searching for the file, and then having it displayed in the right panel.

Example:
From Cursor

Image
  • click in the badge
  • A tab will open (src/components/chatbot-input.tsx) from the editor (in this case, it will be in the review)
Originally created by @jfortez on GitHub (Feb 6, 2026). Originally assigned to: @adamdotdevin on GitHub. ### Feature hasn't been suggested before. - [x] I have verified this feature I'm about to request hasn't been suggested before. ### Describe the enhancement you want to request When a file (such as a component) is attached to the @file, sometimes you want to click on the attached @file to open it from the right panel. for UX <img width="1201" height="100" alt="Image" src="https://github.com/user-attachments/assets/142fa013-8a15-4810-8cba-e6b867ff5971" /> **Expected Behavior**: After attaching an @file, either in the prompt input or after sending the message, you must click on the @file badge and it should appear in the right panel. This is similar to opening the command palette (Ctrl + Shift + P), searching for the file, and then having it displayed in the right panel. Example: From Cursor <img width="588" height="82" alt="Image" src="https://github.com/user-attachments/assets/e49dcf2d-e050-4820-a12f-f9650b080843" /> - click in the badge - A tab will open (src/components/chatbot-input.tsx) from the editor (in this case, it will be in the review)
yindo added the discussionweb labels 2026-02-16 18:10:44 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Feb 6, 2026):

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

  • #11432: Clickable file paths in agent responses - Similar UX feature to open files by clicking references in the UI

Feel free to ignore if this doesn't address your specific case.

@github-actions[bot] commented on GitHub (Feb 6, 2026): This issue might be a duplicate of existing issues. Please check: - #11432: Clickable file paths in agent responses - Similar UX feature to open files by clicking references in the UI Feel free to ignore if this doesn't address your specific case.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#8748