Skip to content

feat(file): navigate to files from @file reference#12608

Open
jfortez wants to merge 3 commits intoanomalyco:devfrom
jfortez:file-ref-navigation
Open

feat(file): navigate to files from @file reference#12608
jfortez wants to merge 3 commits intoanomalyco:devfrom
jfortez:file-ref-navigation

Conversation

@jfortez
Copy link

@jfortez jfortez commented Feb 7, 2026

What does this PR do?

ADd navigation when clicking a @file reference from prompt-input and context items (attachment files with CTRL + L keybind)
fixes: #12539

If you paste a large clearly AI generated description here your PR may be IGNORED or CLOSED!

How did you verify your code works?

Verified UI Interactivity

  1. when a @file is attached, there is not hover interactions (before)
image

After:

hover-interaction.mp4
  1. Open file refs from @file attachments:
nav-tofilesref.mp4

@jfortez jfortez requested a review from adamdotdevin as a code owner February 7, 2026 15:03
@github-actions
Copy link
Contributor

github-actions bot commented Feb 7, 2026

The following comment was made by an LLM, it may be inaccurate:

No duplicate PRs found

@ProdigyRahul
Copy link
Contributor

do we really need this ?

@jfortez
Copy link
Author

jfortez commented Feb 7, 2026

do we really need this ?

for users who aren't used to using keyboard shortcuts, yes. bc Desktop takes up part of your screen (for users with less than one screen), this type of feature helps if you want to navigate a file and find a function (e.g., fix this xHandler function).

@ProdigyRahul
Copy link
Contributor

why ui is broken. it should be like this not ?
image

@jfortez
Copy link
Author

jfortez commented Feb 7, 2026

This is because I have reduced the resources of my operating system (Windows).
image

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEATURE]: open file from @file input

2 participants