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
[FEATURE]: Toggle Word Wrap in File Viewer (Desktop) #16781
I have verified this feature I'm about to request hasn't been suggested before.
I did a search and did not see the exact same thing as either an open or closed issue.
Is your feature request related to a problem? Please describe.
When viewing files with long lines of text (such as logs, minified code, or un-wrapped markdown) in the OpenCode Desktop file viewer, it requires constant horizontal scrolling. This makes it difficult to read and interrupts the workflow.
Describe the solution you'd like
Please add the ability to toggle word wrap on and off within the file viewer. A simple toggle button in the viewer header or a keyboard shortcut would be ideal to easily switch between wrapped and unwrapped text.
Describe alternatives you've considered
Currently, the only alternative is opening the file in an external text editor that supports word wrap, which breaks the context of staying within OpenCode Desktop.
Reacted by Klimentiy Bulygin, Will Giddens and Serg Pokrovskyy
Activity
[-]Feature Request: Toggle Word Wrap in File Viewer[/-][+][FEATURE]: Toggle Word Wrap in File Viewer[/+][-][FEATURE]: Toggle Word Wrap in File Viewer[/-][+][FEATURE]: Toggle Word Wrap in File Viewer (Desktop)[/+]github-actions commentedon Mar 9, 2026
Thanks for updating the issue! It now meets all the contributing guidelines. The
needs:compliancelabel has been removed.DaveW001 commentedon Mar 9, 2026
Note that the other issue that I found that mentions Word Wrap dealt specifically with agents and was not related to the file viewer.
klimentij commentedon Mar 10, 2026
We need this please. It's very hard to review MD files currently as i have to horizontally scroll every single line as I read them (mac app)
R2rho commentedon Mar 11, 2026
Please add this, this would be a massive improvement to readability.
github-actions commentedon Jul 4, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.