anomalyco / anomalyco/opencode

Desktop: cannot open Sublime Text on Windows

Open
#41,694 3 comments 0 reactions 1 assignee View on GitHub

@Hona is already working on this.

Since Aug 11, 2026.

Dominant language
TypeScript
Stars
209k
Forks
27.5k
PR merge metrics
PR metrics pending

Description

Description
Problem

On Windows Desktop, the "Open With" menu shows "Sublime Text", but selecting it does not open the directory in Sublime Text.

Sublime Text CLI is available in PATH:

where.exe subl

returns the executable path successfully.

However, OpenCode resolves the application using:

resolveWindowsAppPath("Sublime Text")

which runs:

where.exe "Sublime Text"

This fails because the Windows CLI command is sublime_text.exe / subl.exe, not Sublime Text.

Plugins

Unknown / not relevant

OpenCode version

1.17.20

Steps to reproduce
  1. Install Sublime Text on Windows.
  2. Add Sublime Text CLI (subl.exe) to PATH.
  3. Open OpenCode desktop
  4. Open any session/workspace
  5. Use the session header and choose "Open With" -> "Sublime Text".
Screenshot and/or share link

Operating System

Windows 10

Terminal

Powershell

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.