feat(vscode): configurable TUI location#15504
Open
dotneB wants to merge 1 commit intoanomalyco:devfrom
Open
Conversation
dotneB
commented
Mar 1, 2026
| }) | ||
|
|
||
| context.subscriptions.push(openTerminalDisposable, addFilepathDisposable) | ||
| context.subscriptions.push(openNewTerminalDisposable, openTerminalDisposable, addFilepathDisposable) |
Author
There was a problem hiding this comment.
Technically not related to the configurable location. But that disposable was never disposed
dotneB
commented
Mar 1, 2026
Author
There was a problem hiding this comment.
Running bun compile for the vscode ext gives
❯ bun compile
$ bun run check-types && bun run lint && node esbuild.js
$ tsc --noEmit
$ eslint src
D:\Development\opencode\sdks\vscode\src\extension.ts
4:33 warning Missing semicolon semi
6:33 warning Missing semicolon semi
[...]
136:54 warning Missing semicolon semi
140:26 warning Missing semicolon semi
✖ 50 problems (0 errors, 50 warnings)
0 errors and 50 warnings potentially fixable with the `--fix` option.
This probably needs to be addressed in another PR
Contributor
|
Thanks for updating your PR! It now meets our contributing guidelines. 👍 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Issue for this PR
Closes #15503
Type of change
What does this PR do?
Adds
opencode.tuiLocationto the vscode extension. Defaults to 'editor' which keeps the previous behavior. Adds 'terminal' to spawn the TUI to vscode Terminal panel instead.How did you verify your code works?
Then installed the vsix in vscode to validate that the default behavior was kept and that the new behavior properly spawned the TUI in the terminal panel.
Screenshots / recordings
In VSCode Setting UI

Checklist
If you do not follow this template your PR will be automatically rejected.