Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request : Provide multiple terminal choices within same instance of VSC #10893

Closed
abhishekanand opened this issue Aug 24, 2016 · 6 comments
Assignees
Labels
*extension-candidate Issue identified as good extension implementation feature-request Request for new features or functionality terminal Integrated terminal issues ux User experience issues
Milestone

Comments

@abhishekanand
Copy link

  • VSCode Version: NA
  • OS Version: NA

Steps to Reproduce: NA

Per this link, Integrated Terminal in the docs , you can create multiple instances of the terminal and even change it from CMD to BASH to PowerShell.
Can VScode provide options have multiple terminals choice. 1: CMD, 2: BASH, 3: PowerShell within the same instance of VSC?

@sandy081 sandy081 added the terminal Integrated terminal issues label Aug 25, 2016
@Tyriar Tyriar added the feature-request Request for new features or functionality label Aug 25, 2016
@Tyriar Tyriar added this to the Backlog milestone Aug 25, 2016
@avikenjale
Copy link

@Tyriar
Copy link
Member

Tyriar commented Feb 6, 2017

From duplicate I created #20057

Perhaps the + icon could open a quick pick or popup which presented:

  • cmd
  • powershell
  • bash for windows
  • git bash

These could be configured using some settings behind the scenes which knows about the paths to these since they will almost always be in the same spot. The setting could look something like this:

"...shells": {
  "cmd": "%windir%\\sysnative\\cmd.exe",
  "PowerShell": "windir%\\sysnative\\WindowsPowerShell\\v1.0\\powershell.exe",
  "Bash on Windows": "%windir%\\sysnative\\bash.exe",
  "Git Bash": "%programfiles^\\Git\\bin\\bash.exe" // if it exists
}

Note that we don't want to run into the same issues as commandsToSkipShell #19770 if we create such a setting.

@Tyriar Tyriar added the ux User experience issues label Feb 6, 2017
@rotemdan
Copy link

rotemdan commented Feb 6, 2017

I have nothing special against PowerShell but I found the sounds it emitted when hitting backspace a little bit annoying. I realize it is probably not that difficult to disable them (actually it requires creating and editing a profile, through a series of commands, so I wouldn't say it is "super-easy"), but instead I quickly switched to the good-old cmd. Probably because cmd already does all I need and doesn't require me to learn anything new.

I guess there would be many people who would choose to do the same, so making the switch easily accessible would be convenient. Also, having bash readily accessible might prove useful for Windows users as well, especially to run specialized scripts.

@ryansully
Copy link

There is a (hacky) workaround until this feature becomes official:
http://ammonsonline.com/vscode-multiple-integrated-terminals/

I'm currently using ConEmu for multiple terminals, but would like to see this built into VSC natively.

@Tyriar
Copy link
Member

Tyriar commented Feb 10, 2017

@ryansully in most cases you should simply be able to launch the shell from the other one (run "powershell" in cmd), bash.exe may be an exception though as it has some special properties.

@Tyriar
Copy link
Member

Tyriar commented Mar 3, 2017

I just published an extension that covers this use case, enjoy 😃 https://marketplace.visualstudio.com/items?itemName=Tyriar.shell-launcher

@Tyriar Tyriar closed this as completed Mar 3, 2017
@Tyriar Tyriar added the *extension-candidate Issue identified as good extension implementation label Mar 3, 2017
@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*extension-candidate Issue identified as good extension implementation feature-request Request for new features or functionality terminal Integrated terminal issues ux User experience issues
Projects
None yet
Development

No branches or pull requests

6 participants