Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Prepare code-server terminals #7487

Closed Answered by code-asher
Breee asked this question in General
Discussion options

Greetings,

I would like to ask if it is possible to run vscode internal commands like workbench.action.terminal.newInActiveWorkspace or workbench.action.createTerminalEditorSide somehow via a script. (The commands that i can select if i press CTRL + SHIFT + p)

My aim is to prepare a vscode-server instance on boot to have per default:

2 Terminals open in the editor view
1 Terminal open in the lower section

Screenshot from 2025年09月11日 11-55-41

ideally they are already renamed to something i want

You must be logged in to vote

The only reasonable way would be to create an extension that runs these commands when it gets activated, I think.

Replies: 1 comment 2 replies

Comment options

The only reasonable way would be to create an extension that runs these commands when it gets activated, I think.

You must be logged in to vote
2 replies
Comment options

Alright, thanks alot!

Comment options

Another possible idea is that there might already be an extension that does what you want. Maybe this: https://open-vsx.org/extension/lostintangent/workspace-layout

Answer selected by Breee
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants

AltStyle によって変換されたページ (->オリジナル) /