Skip to content

Fix Tab completion preferring history over local files#867

Merged
binaricat merged 3 commits into
binaricat:mainfrom
tces1:fix/issue-825-tab-completion-priority
Apr 30, 2026
Merged

Fix Tab completion preferring history over local files#867
binaricat merged 3 commits into
binaricat:mainfrom
tces1:fix/issue-825-tab-completion-priority

Conversation

@tces1
Copy link
Copy Markdown
Contributor

@tces1 tces1 commented Apr 29, 2026

Summary

  • use resolved Fig spec args when deciding when path completion should outrank history
  • prioritize local filesystem suggestions for spec-driven file and folder arguments
  • add a regression test covering a spec-declared filepath argument

Fixes #825

Use resolved Fig spec args when deciding when filesystem suggestions should outrank command history. Add a regression test covering a spec-driven file argument command.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: f804a1234d

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread components/terminal/autocomplete/completionEngine.ts
@binaricat binaricat merged commit 5a1d693 into binaricat:main Apr 30, 2026
9 checks passed
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.

Bug: tab补全经常补全历史记录而非优先本地文件

2 participants