Search code examples
visual-studiovisual-studio-2017idevisual-studio-2019tooling

Specify Different Command Prompt for Visual Studio


In Visual Studio 2017 or 2019 is it possible to have a different program, say gitbash or powershell, run for:

Team Explorer > Actions > Open Command Prompt

So far, I have only found instructions to customize the default developer command prompt. I seek to use a different prompt entirely.


UPDATE: To illustrate what I mean by 'Actions` under Team Explorer here's a small screen shot:

Screen fragment showing the 'Actions' menu in Team Explorer


Solution

  • Use the Open Command Line extension.

    You can define multiple command line options available from the solution explorer context menu, including a default which has a keyboard mapping.

    (I don't know what you mean by actions in Team Explorer: do you have a not-git VCS option set?)