Skip to content

fix: widen symbol target candidate sources in output window - #489

Merged
sudo-tee merged 3 commits into
sudo-tee:mainfrom
jensenojs:fix/symbol-target-candidate-sources
Sep 10, 2026
Merged

fix: widen symbol target candidate sources in output window#489
sudo-tee merged 3 commits into
sudo-tee:mainfrom
jensenojs:fix/symbol-target-candidate-sources

Conversation

@jensenojs

@jensenojs jensenojs commented Sep 10, 2026

Copy link
Copy Markdown
Collaborator

Symbol jump in the output window often missed because the candidate file set was too narrow: files @-mentioned in user messages were dropped, bare-name mentions failed the cwd-relative readability check, and the formatter only accepted files mentioned before the token.

Now reference_facts.available_files() unions readable ref files with loaded plain buffers, user file parts enter reference facts, the position narrowing is gone, and navigation re-reads the set at keypress time. gd is also bound to jump_to_target_at_cursor in the output window.

Full suite passes; added an e2e regression covering open-buffer-as-only-candidate.

@jensenojs
jensenojs force-pushed the fix/symbol-target-candidate-sources branch from 93c5f89 to 6ed7b8e Compare September 10, 2026 03:15
@jensenojs
jensenojs force-pushed the fix/symbol-target-candidate-sources branch from d88ff87 to 5943344 Compare September 10, 2026 03:28
@jensenojs
jensenojs marked this pull request as ready for review September 10, 2026 03:53
@jensenojs

Copy link
Copy Markdown
Collaborator Author

I'm back! @sudo-tee

@sudo-tee

Copy link
Copy Markdown
Owner

Thanks for the PR, this looks like a nice fix

@sudo-tee
sudo-tee merged commit 2451acf into sudo-tee:main Sep 10, 2026
5 checks passed
@jensenojs
jensenojs deleted the fix/symbol-target-candidate-sources branch September 11, 2026 02:10
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.

2 participants