You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
File and MCP resource search fails to match text hidden by truncation #7388
When attaching files or MCP resources using @ in the TUI, long paths/URIs are truncated with "..." in the middle for display (e.g., src/components/f...ationService.ts). The fuzzy search runs against this truncated string, so typing text hidden by the ellipsis fails to find matches.
This affects:
Files - long file paths
MCP Resources - long resource names/URIs
Expected behavior
Fuzzy search should match against the full path/URI, not the truncated display string.
Resize your terminal window to be as small as possible while still being able to type in the input field
Have a file with a long path (e.g., src/components/files/FileValidationService.ts)
Type @ to open the autocomplete menu
Start typing part of the filename that gets hidden by truncation (e.g., "Validation")
The file doesn't appear in the results, even though it should match
Plugins
No response
OpenCode version
1.1.6
Steps to reproduce
Resize your terminal window to be as small as possible while still being able to type in the input field
Have a file with a long path (e.g., src/components/files/FileValidationService.ts)
Type @ to open the autocomplete menu
Start typing part of the filename that gets hidden by truncation (e.g., "Validation")
The file doesn't appear in the results, even though it should match
Activity
github-actions commentedon Jan 8, 2026
For keybind-related issues, please also check our pinned keybinds documentation: #4997