Skip to content

Latest commit

History

History
95 lines (68 loc) 路 3.04 KB

README.md

File metadata and controls

95 lines (68 loc) 路 3.04 KB

Terminal Manager

Terminal Manager is a visual studio code extension to switch between various terminals.

Current version of Terminal Manager Current version of Terminal Manager Current version of Terminal Manager

Install extension button

Features

By default vscode lets us define only one link of terminal from settings.

Using this extension you can provide an array of terminals and then you can switch between them from a new Terminal icon in activity bar.

Extension Settings

Click the edit icon in Terminal Manager activity bar to edit the terminal settings.

Here's what sample terminals.json looks like. (Note : Ubuntu configs will only work if you have wsl installed in your windows)

In Windows :

[
    {
        "label":"Windows",
        "shellPath":"C://Windows//System32//cmd.exe",
        "shellArgs":[
            "/K",
            "echo Heya!"
        ]
    },
    {
        "label":"Ubuntu",
        "shellPath":"C://Windows//System32//bash.exe"
    }
]

In Linux and OSX:

[
    {
        "label":"Login bash",
        "shellPath":"/bin/bash",
        "shellArgs":["-l"]
    },
    {
        "label": "Restricted Bash",
        "shellPath": "/bin/rbash"
    },
    {
        "label":"sh",
        "shellPath":"/bin/sh"
    }
]

Contribution

Local Development

  • Fork this project
  • git clone https://github.com/{your username}/vscode-terminal-manager
  • cd vscode-terminal-manager
  • npm install
  • Open the project in Visual Studio Code and press Ctrl + f5 to start Extension host.

Release Notes

1.0.0 - 1.0.4

  • Initial Release of Terminal Manager and Minor Updates.

1.0.5

  • Fixed Path error that was thrown in Ubuntu when edit button was clicked

1.0.6

  • shellArgs can be added to terminal (Thanks to #PR5 by 4a-42)
  • added default terminals.json configs for linux and osx

Dont forget to star my github repository https://github.com/saurabhdaware/vscode-terminal-manager

Enjoy 馃帀