[PR #4253] vscode: Allow users to choose opencode terminal location #10917

Closed
opened 2026-02-16 18:15:40 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/4253

State: closed
Merged: No


This pull request adds user configurability for where the opencode terminal opens in the VSCode extension. The main change is introducing a new configuration option that allows users to select the terminal's location, and updating the terminal creation logic to respect this preference.

User configuration support:

  • Added a new opencode.terminalLocation setting in package.json that lets users choose where the opencode terminal appears (auto, beside editor, active editor, or panel), including descriptions and a default value.

Terminal creation logic:

  • Updated the openTerminal function in extension.ts to read the user's terminal location preference and open the terminal accordingly, supporting all specified location options.
  • Changed the terminal command to append && exit so the terminal closes automatically after opencode exited.
**Original Pull Request:** https://github.com/anomalyco/opencode/pull/4253 **State:** closed **Merged:** No --- This pull request adds user configurability for where the opencode terminal opens in the VSCode extension. The main change is introducing a new configuration option that allows users to select the terminal's location, and updating the terminal creation logic to respect this preference. **User configuration support:** * Added a new `opencode.terminalLocation` setting in `package.json` that lets users choose where the opencode terminal appears (auto, beside editor, active editor, or panel), including descriptions and a default value. **Terminal creation logic:** * Updated the `openTerminal` function in `extension.ts` to read the user's terminal location preference and open the terminal accordingly, supporting all specified location options. * Changed the terminal command to append `&& exit` so the terminal closes automatically after opencode exited.
yindo added the pull-request label 2026-02-16 18:15:40 -05:00
yindo closed this issue 2026-02-16 18:15:40 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#10917