Using the command line from within Visual Studio

后端 未结 4 1306
囚心锁ツ
囚心锁ツ 2020-12-18 20:03

I\'d like to have a tool window in Visual Studio that allows me to type command line things (e.g. git stash, npm install, etc.) in the current proj

4条回答
  •  盖世英雄少女心
    2020-12-18 20:31

    For anyone that comes across this in 2018+, there is now also the Whack Whack Terminal extension from Microsoft's Daniel Griffen (@dgriffen on GitHub), which gives you exactly what you were looking for.

    Whack Whack Terminal is a terminal emulator for Visual Studio 2017. Unlike other terminals for VS, Whack Whack Terminal is fully interactive. Users can launch interactive git commits, vim, or almost any other command line utility.

    The default terminal is powershell and it can be opened with the shortcut chord "Ctrl+\, Ctrl+\".

    CMD and WSLBash are also available terminal choices.

    It's also open source! You can find the source code at Microsoft/WhackWhackTerminal on GitHub.

提交回复
热议问题