anomalyco / anomalyco/opencode
Desktop: cannot open Sublime Text on Windows
Open
@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
- Install Sublime Text on Windows.
- Add Sublime Text CLI (
subl.exe) to PATH. - Open OpenCode desktop
- Open any session/workspace
- Use the session header and choose "Open With" -> "Sublime Text".
Screenshot and/or share link

Operating System
Windows 10
Terminal
Powershell
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.