Terminal loader
This extension allows to open multiple terminals stacked side by side and run a different command on each one. Perfect to work in a workspace with multiple projects.
Features
Allow to configure and run pre configured commands.
Add a configuration file called LoadTerminal.json on the root folder.
Installation ⬇
In vscode marketplace search and install "Terminal loader".
Or launch the vscode quick open (⌘+p | Ctrl+p) and run ext install terminal-loader
Commands 🗣
The extension commands that can be accessed from the command pallet (⌘+Shift+p | Ctrl+Shift+p ):
TLoader: Load Terminals
- Open pre configured terminals in file LoadTerminal.json
⚠️ IMPORTANT: A group called groups
must exists in the configuration file for this, you can add extra groups, but please don't remove this one!
TLoader: Load Groups
- Open a group of terminals in file LoadTerminal.json
. For the following example you can select groups or testEnv or both (groups,testEnv). A sample file is created when you run the extension the first time.
⚠️ IMPORTANT: Too many groups or crowded groups could cause VSCode freezing or stop working!
{
"version":"packageJson.version",
"customGroup": [ ] // 👈 Defining a custom group to be loaded with `TLoader: Load Groups`
"groups":[ // 👈 this is the default group
{
"name":"First group: Sample",
"description":"First group of terminals and commands",
"enabled":true,
"terminals":[
{
"name":"--1g-1c",
"path":".",
"cmd":[
"echo first group first console!"
],
"num":0
}
]
},
{
"name":"Second group: Sample",
"description":"Second group of terminals and commands",
"enabled":true,
"terminals":[
{
"name":"--2g-1c",
"path":".",
"cmd":[
"echo Second group first console!"
],
"num":0
}
]
}
]
}
Workspace settings.
Setting Section: terminalLoader.config
- directory: Defines the name or location for the file
LoadTerminal.json
{
...
"terminalLoader.config": {
"directory": ".vscode",
}
}
License
MIT
Requirements
- Visual Studio Code 1.53.0 or higher
Latest release notes
1.2.1
- Fix: Naming new terminals ( not splitted )
- Know bug: Renaming splitted terminal does not work with vscode version 1.57.1
- Command list on configuration, Now you can define a list of commands to be executed in the configuration file.
See full change log here
Help this extension be great 💪
If you want to contribute or have any feedback positive or negative, let me know!
Contact via Email or open an issue at this project's Git Repo.
Thank you Nick Armitage for reporting issues.
Thank you Leandro Silva and Anton Olsson for suggestions.
Stay in touch
License
This software is licensed under MIT License
May 2021