[feature request] File preview #99

Closed
opened 2026-02-16 17:25:11 -05:00 by yindo · 1 comment
Owner

Originally created by @janostik on GitHub (Jun 17, 2025).

Originally assigned to: @adamdotdevin on GitHub.

When trying to work 100% from the services like claudecode or opencode, in the end I need to switch between my editor and the opencode when constructing my prompt. When mentioning files, especially on larger projects I'm not 100% sure which file to mention and need to switch back and forth between the opencode and cursor to actually see what is in the file and whether I mentioned correct path. Or whether the file should be included in the context at all.

When typing / command and mentioning a specific file, the space above the input could be used to quickly preview the content of the file so that users can easily validate they are mentioning the right thing. Especially when starting a session I have 2 lines available in the input and rest of the screen is not used. Maybe this is an issue with my workflow and does not align with the direction of the opencode. In that case, feel free to close it.

Originally created by @janostik on GitHub (Jun 17, 2025). Originally assigned to: @adamdotdevin on GitHub. When trying to work 100% from the services like claudecode or opencode, in the end I need to switch between my editor and the opencode when constructing my prompt. When mentioning files, especially on larger projects I'm not 100% sure which file to mention and need to switch back and forth between the opencode and cursor to actually see what is in the file and whether I mentioned correct path. Or whether the file should be included in the context at all. When typing / command and mentioning a specific file, the space above the input could be used to quickly preview the content of the file so that users can easily validate they are mentioning the right thing. Especially when starting a session I have 2 lines available in the input and rest of the screen is not used. Maybe this is an issue with my workflow and does not align with the direction of the opencode. In that case, feel free to close it.
yindo added the growth label 2026-02-16 17:25:11 -05:00
yindo closed this issue 2026-02-16 17:25:12 -05:00
Author
Owner

@thdxr commented on GitHub (Jul 2, 2025):

this is landing this week

@thdxr commented on GitHub (Jul 2, 2025): this is landing this week
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#99