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
Autocomplete a filename did not work on old prompt #4120
I opened opencode and pressed arrow up to find a previous prompt. Then i removed a reference to a folder and tried to type @somefolder to replace it with a new folder, but the autocomplete dialog did not show.
OpenCode version
1.0.51
Steps to reproduce
open opencode
use arrow to move to a previous prompt
try and replace a referenced folder in the middle of the prompt
This appears to just be the symptom of a more general issue: @ completions don't show up if triggered in the middle of text, e.g. with the prompt what does the file @ contain.
Are you getting this issue when the file reference is at the end of the prompt?
You're right. This only happens in the middle of the text as a general issue as you described. It seems you already have a fix for it! Awesome work on this tool.
Activity
github-actions commentedon Nov 9, 2025
This issue might be a duplicate of existing issues. Please check:
Feel free to ignore if none of these address your specific case.
veracioux commentedon Nov 9, 2025
This appears to just be the symptom of a more general issue:
@completions don't show up if triggered in the middle of text, e.g. with the promptwhat does the file @ contain.Are you getting this issue when the file reference is at the end of the prompt?
erf commentedon Nov 9, 2025
You're right. This only happens in the middle of the text as a general issue as you described. It seems you already have a fix for it! Awesome work on this tool.
veracioux commentedon Nov 9, 2025
@erf I'm just a small-time contributor :) We should keep this issue open until the PR gets merged.