Make the desktop "Open in" submenu configurable (currently hardcoded to VS Code / Cursor / Zed)

Resolved 💬 4 comments Opened Apr 26, 2026 by bdwalter Closed Jun 18, 2026

What I'm trying to do

Right-click a file path rendered in the Claude Code desktop app → Open in → _my-preferred-app-for-this-filetype_.

Specifically: I use Typora for viewing .md files. I have Typora set as the macOS default app for .md (verified via duti -x md showing com.typora.typora). Other CLI tools (open, gh, git) all respect that default.

What actually happens

The "Open in" submenu only shows VS Code and Finder. There's no option for Typora or any other app I have installed. The macOS Launch Services default is bypassed.

Per the Claude Code Desktop docs the submenu auto-detects only VS Code, Cursor, and Zed. There's no settings key in ~/.claude/settings.json to add custom entries.

Why the system default isn't enough

I get that Claude Code is editor-aware (jumping to a specific line/column matters for code files). The hardcoded list works fine for .py / .ts / .go. The gap is non-code files that have legitimate non-IDE viewers — markdown editors (Typora, iA Writer, Obsidian), PDF viewers, image viewers, CSV viewers like Numbers/Excel, etc.

Forcing a .md file into VS Code when I have a dedicated markdown editor is friction.

Possible fixes (any of these would work for me)

  1. Defer to macOS Launch Services for non-source files. If the file extension isn't in a known-code list, fall back to open <path> and let the OS route it. Code files keep going to the editor, everything else respects the user's default app.
  1. Add a customOpenIn setting in settings.json. Something like:

``json
"openIn": {
"extensions": {
".md": "Typora",
".pdf": "Preview",
".csv": "Numbers"
}
}
``

  1. Auto-detect installed apps and offer them all. Scan /Applications for apps that declare a CFBundleDocumentTypes entry matching the file's UTI, and show them all in the submenu (the same way Finder's "Open With" does).

Option 1 is the lowest-effort and matches user expectations from every other CLI tool. Option 2 gives the most control. Option 3 is the most user-friendly but the most code.

Current workaround

Right-click → Copy path → trigger a Raycast / Alfred script that runs open -a Typora "$(pbpaste)". Works but is two extra steps for what should be one click.

Environment

  • Claude Code desktop app (latest as of 2026-04-25)
  • macOS
  • Typora installed at /Applications/Typora.app, registered as default for .md via Launch Services

Happy to test a fix if you publish a beta channel for this.

View original on GitHub ↗

This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗