Skip to content

Desktop: Option to open links in external browser #10309

@mguttmann

Description

@mguttmann

Problem

Currently, clicking on links in the desktop app opens them within the app itself. This can be frustrating when you want to open links in your default system browser instead.

Proposed Solution

Add a setting in Settings → General → Browser that allows users to choose whether links should open:

  • In external browser (default) - opens links in the system's default browser
  • In app - opens links within the desktop app

Implementation Details

The setting would affect all http:// and https:// links clicked within the app. When enabled, the click handler intercepts these links and uses shell.open() to launch the system browser.

Use Cases

  • Opening documentation links in a full browser with extensions
  • Keeping the OpenCode app focused on coding while browsing in a separate window
  • Using browser features not available in the embedded webview

Additional Context

This is a desktop-only feature since the web version already opens links in new tabs by default.

Metadata

Metadata

Assignees

Labels

webRelates to opencode on web / desktop

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions