How to get terminal window inside Visual Studio 2017 / 2019?

╄→尐↘猪︶ㄣ 提交于 2020-02-01 02:22:30

问题


I was just reading this article - https://devblogs.microsoft.com/dotnet/visual-studio-2019-net-productivity-2/ and noticed in one of the GIF image, she is showing a terminal window inside VS editor itself. It looks like a fully fledged powershell window. How can we get that? Here is a screenshot.


回答1:


How can we get that?

The Terminal Window in the video seems to comes from a VS extension Whack Whack Terminal. You can download and install it in your vs2017.

(Note:For vs2017, it should be higher versions than 15.6+)

For more details(usage and settings) please check Adding a terminal window to Visual Studio 2017 or A proper terminal for Visual Studio

Update:

1.After install the extension, ctrl+\ twice, then the terminal window will show at the bottom of vs window. And we can change the layout by draging the window like below:

2.Hope it's what you want. Also we can Go Tools=>Options=>keyboard to change the shortcut setting of this window:

Update:

VS 2019 16.3+ added the terminal window as a preview feature. Thanks for the info from Farhad and Platinums! Related info see here.




回答2:


This is now a native feature in the latest Preview Version (Preview 3)

https://devblogs.microsoft.com/visualstudio/say-hello-to-the-new-visual-studio-terminal/



来源:https://stackoverflow.com/questions/55486219/how-to-get-terminal-window-inside-visual-studio-2017-2019

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!