Skip to content

[Visual Studio Code - Recent Projects] Shortcut conflict: "Open with <Terminal>" reuses ⇧⌘O from "Open With…" #28408

Closed

Description

@Tambouil

Extension

Visual Studio Code - Recent Projects

Description

When a Terminal App (e.g. Ghostty, iTerm, Warp) is configured in the extension preferences, the "Open with " action is assigned the shortcut ⇧⌘O — the same shortcut used by Raycast's native Action.OpenWith ("Open With…"), which is already present in the same action panel.

Because "Open With…" is listed first, pressing ⇧⌘O always triggers it, and the terminal action is effectively unreachable via keyboard.

Steps to reproduce

  1. Install the extension and set a Terminal App in preferences (e.g. Ghostty).
  2. Open "Search Recent Projects", focus a project, open the action panel.
  3. Note both actions show ⇧⌘O:
    • Open With…
    • Open with Ghostty
  4. Press ⇧⌘O → "Open With…" fires every time.

Expected

"Open with " should have its own non-conflicting shortcut (e.g. ⇧⌘T).

Root cause

In extensions/visual-studio-code-recent-projects/src/lib/shortcuts.ts:

```ts
OpenWith: Keyboard.Shortcut.Common.OpenWith, // ⇧⌘O
OpenInTerminal: platformShortcut("o", ["cmd", "shift"]) // ⇧⌘O ← collision
```

`Keyboard.Shortcut.Common.OpenWith` already resolves to ⇧⌘O, so `OpenInTerminal` collides with the native action used at `src/index.tsx:257`.

Suggested fix

Change `OpenInTerminal` to a free key (e.g. `t` for Terminal):

```ts
OpenInTerminal: platformShortcut("t", ["cmd", "shift"]),
```

Happy to send a PR if you want.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    Priority

    None yet

    Severity

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions