Skip to content

fix(tui): autocomplete files inside references#34037

Open
jomarescudero wants to merge 2 commits into
anomalyco:devfrom
jomarescudero:fix/tui-reference-autocomplete
Open

fix(tui): autocomplete files inside references#34037
jomarescudero wants to merge 2 commits into
anomalyco:devfrom
jomarescudero:fix/tui-reference-autocomplete

Conversation

@jomarescudero

@jomarescudero jomarescudero commented Jun 26, 2026

Copy link
Copy Markdown

Issue for this PR

Closes #34040

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

Fixes TUI @ reference autocomplete so @alias/partial searches inside the configured reference directory and inserts the selected file as @alias/relative.

Previously, autocomplete matched the reference alias but did not continue file lookup for nested paths.

Related: #33658

How did you verify your code works?

Verified with the focused autocomplete behavior for configured reference paths.

Screenshots / recordings

N/A. This changes autocomplete behavior, not visual layout.

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

@github-actions

Copy link
Copy Markdown
Contributor

Thanks for your contribution!

This PR doesn't have a linked issue. All PRs must reference an existing issue.

Please:

  1. Open an issue describing the bug/feature (if one doesn't exist)
  2. Add Fixes #<number> or Closes #<number> to this PR description

See CONTRIBUTING.md for details.

@github-actions github-actions Bot added the needs:compliance This means the issue will auto-close after 2 hours. label Jun 26, 2026
@github-actions

Copy link
Copy Markdown
Contributor

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

Based on my search, I found a potentially related PR:

Related PR:

No other duplicate PRs found. The current PR (#34037) appears to be addressing a specific gap in autocomplete functionality for nested paths within configured references.

@github-actions github-actions Bot removed needs:compliance This means the issue will auto-close after 2 hours. needs:issue labels Jun 26, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Thanks for updating your PR! It now meets our contributing guidelines. 👍

@jomarescudero

Copy link
Copy Markdown
Author

Thanks for the report and por pointing me to the issue/PR template.

I found that my previous version missed an edge case in directory navigation after selecting a folder. I pushed an update to this same PR that fixes the behavior and verified it with the affected autocomplete flow.

Sorry for the extra noise. I'll keep the linked issue open until you confirm the updated PR covers the expected behavior.

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.

TUI autocomplete does not list files inside configured references

1 participant