Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio Code split terminal on startup

Is there a way to have visual studio code launch the split terminal (Ctrl + \) on startup?

Or alternatively, is it possible to save my screen layout so I don't have to split the terminal manually?

like image 571
Mike Sheehan Avatar asked Oct 30 '25 09:10

Mike Sheehan


1 Answers

Some of this functionality was added since the question was asked. Now you can put this into your tasks.json:

 {
  "label": "SplitTerminalonStartip",
  "command": "${command:workbench.action.terminal.split}",
  "type": "shell",
  "problemMatcher": [],
  "runOptions": { "runOn": "folderOpen" }
},

and the terminal will be split on startup.

like image 94
Mark Avatar answered Nov 02 '25 23:11

Mark