fix(vscode): prefix command titles with extension name #8247

Open
opened 2026-02-16 18:09:31 -05:00 by yindo · 0 comments
Owner

Originally created by @kym6464 on GitHub (Feb 1, 2026).

Originally assigned to: @rekram1-node on GitHub.

Problem

The VS Code extension commands don't follow the VS Code convention of prefixing command titles with the extension name. This makes it harder to identify OpenCode commands in the command palette.

For example, I couldn't find how to add the active file path to the terminal in the VS Code command palette because I searched for "opencode" and it didn't come up. I initially thought it was a bug before realizing it was named differently than I expected.

Current behavior:

  • Open opencode
  • Open opencode in new tab
  • Add Filepath to Terminal

Expected behavior:

  • OpenCode: Open
  • OpenCode: Open in New Tab
  • OpenCode: Add Filepath to Terminal

Example of said naming convention from the ESLint extension:

Image

Location

sdks/vscode/package.json - the contributes.commands[].title fields

Proposed fix

Update the command titles in package.json to use the OpenCode: <action> format.

PR: https://github.com/anomalyco/opencode/pull/11661

Originally created by @kym6464 on GitHub (Feb 1, 2026). Originally assigned to: @rekram1-node on GitHub. ## Problem The VS Code extension commands don't follow the VS Code convention of prefixing command titles with the extension name. This makes it harder to identify OpenCode commands in the command palette. For example, I couldn't find how to add the active file path to the terminal in the VS Code command palette because I searched for "opencode" and it didn't come up. I initially thought it was a bug before realizing it was named differently than I expected. **Current behavior:** - `Open opencode` - `Open opencode in new tab` - `Add Filepath to Terminal` **Expected behavior:** - `OpenCode: Open` - `OpenCode: Open in New Tab` - `OpenCode: Add Filepath to Terminal` Example of said naming convention from the ESLint extension: <img width="669" height="200" alt="Image" src="https://github.com/user-attachments/assets/dd968363-54b8-4edb-b715-0341da72fdde" /> ## Location `sdks/vscode/package.json` - the `contributes.commands[].title` fields ## Proposed fix Update the command titles in `package.json` to use the `OpenCode: <action>` format. PR: https://github.com/anomalyco/opencode/pull/11661
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#8247