Search code examples
visual-studio-code

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?


Solution

  • 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.