Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Explorer Terminal CommandsNew to Visual Studio Code? Get it now.
Explorer Terminal Commands

Explorer Terminal Commands

Hugo Lafitte

|
3,800 installs
| (1) | Free
Quick terminal & docker-compose commands from the explorer view
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Explorer Terminal Commands

This VSCode extension allows you to define a set of terminal commands in your workspace settings that will appear in the Explorer view of VSCode. Clicking on it will open a terminal and execute the command.

Extension demo

Docker Compose panel

Plugin will search for docker-compose.yml files in all your workspaces folder, and display quick Docker Compose commands for the entire stack, and each services. This is disabled by default. Set showDockerCommands to true to enable it.

Extension demo

Custom commands Features

  • Auto on/off : wether to run the command immediately or let you finish typing it
  • Custom working directory : allow you to set the CWD of the terminal before sending the command
  • Multi on/off : wether the command must create a new terminal each time it runs

Configuration

Commands must be set in your workspace settings.

  "explorerTerminal.showDockerCommands": true,
  "explorerTerminal.commands": [
    {
      "command": "top",
    },
    {
      "name": "my ls command",
      "command": "ls -F -lh --color=always -v --author --time-style=long-iso",
      "multi": true,
    },
    {
      "name": "some docker command",
      "command": "docker ps -aq",
      "cwd": "/home/gogson",
    },
    {
      "name": "whereis",
      "command": "whereis ",
      "auto": false
    }
  ]
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft