Define your terminal configurations in a MyTerminals.json file. Run all specified terminals at once or select specific terminals.
- Bring up the command pallette
- Select one of the commands as mentioned below.
- Press [enter] to confirm or [escape] to cancel.
Creates a MyTerminals.json settings file in your projects .vscode
folder.
See settings for available configuration options.
Launch the configured terminals.
Kill all open terminals.
Choose a terminal configuration to open.
All configuration options shown below are optional.
// .vscode/MyTerminals.json
{
"silence": false, // Don't focus on the terminal panel if set to true
"terminals": [
{
"name": "Git",
"icon": "git-merge",
"color": "terminal.ansiBlue",
"message": "run 'npm run serve' to start dev server", // Message written to the terminal on first launch.
"focus": false, // Terminal tab gets focus if set to true
"path": "backend/", // Path for the current working directory to be used for the terminal. Relative to workspace root.
"shellPath": "C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe", // Path to custom shell executable to be used in the terminal
"commands": ["npm run serve"] // Command(s) to be executed on launch.
}
]
}
See Visual Studio Code's Icon Listing for a list of optional icons.
See Visual Studio Code's Integrated Terminal Colors. The
terminal.ansi*
theme keys are recommended for the best contrast and consistency across themes.
Fixed typo in readme
More neutral defaults when running MyTerminals: Init
Fixed: Configured icons and colors are correctly shown for VSCode v1.70 and above. Added option for custom shellPath. Updated README.md
Added How to use section to README.md
Initial release of MyTerminals