Skip to content

[FEATURE]: Toggle Word Wrap in File Viewer (Desktop) #16781

Closed as not planned

Description

@DaveW001
  • 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.

Activity

  1. added
    webRelates to opencode on web / desktop
    needs:complianceThis means the issue will auto-close after 2 hours.
    on Mar 9, 2026
  2. changed the title [-]Feature Request: Toggle Word Wrap in File Viewer[/-] [+][FEATURE]: Toggle Word Wrap in File Viewer[/+] on Mar 9, 2026
  3. changed the title [-][FEATURE]: Toggle Word Wrap in File Viewer[/-] [+][FEATURE]: Toggle Word Wrap in File Viewer (Desktop)[/+] on Mar 9, 2026
  4. github-actions commented on Mar 9, 2026

    @github-actions
    Contributor

    Thanks for updating the issue! It now meets all the contributing guidelines. The needs:compliance label has been removed.

  5. DaveW001 commented on Mar 9, 2026

    @DaveW001
    Author

    Note that the other issue that I found that mentions Word Wrap dealt specifically with agents and was not related to the file viewer.

  6. klimentij commented on Mar 10, 2026

    @klimentij

    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)

  7. R2rho commented on Mar 11, 2026

    @R2rho

    Please add this, this would be a massive improvement to readability.

  8. removed
    webRelates to opencode on web / desktop
    on May 3, 2026
  9. github-actions commented on Jul 4, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions