Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>multi-terminal-directoriesNew to Visual Studio Code? Get it now.
multi-terminal-directories

multi-terminal-directories

askmewhat

|
4 installs
| (0) | Free
Support opening multiple terminal windows and running commands at once
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

multi-terminal-directories

Support opening multiple terminal windows and running commands at once

How to use

Ctrl+Shift+P > Multi Terminal : Open
Select One Group

Extension Settings

Modify multi-terminal-directories.paths in settings.json

  • name: Group name

  • configure: Configuration of terminal

    • name: Terminal name
    • dir: Command working directory
    • command: Command to run in terminal
    • run: default:false Whether to run the command immediately after typing the command

For example:

"multi-terminal-directories.paths": [
    {
        "name": "group name 1",
        "configure": [
            {
                "name": "Terminal 1",
                "dir": "path/to/your/root1",
                "command": "command to run in terminal",
                "run": true
            },
            {
                "name": "Terminal 2",
                "dir": "path/to/your/root2",
                "command": "command to run in terminal",
                "run": false
            },
            {
                "name": "Terminal 3",
                "dir": "path/to/your/root3",
                "command": "command to run in terminal",
                "run": true
            }
        ]
    },
    {
        "name": "group name 2",
        "configure": [
            {
                "name": "Terminal 4",
                "dir": "path/to/your/root4",
                "command": "command to run in terminal",
                "run": true
            },
        ]
    }
]

Enjoy!

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft