terminal - 如何在 Visual Studio 2017/2019 中获取终端窗口?

标签 terminal visual-studio-2017 visual-studio-extensions visual-studio-2019

我刚刚读了这篇文章 - https://devblogs.microsoft.com/dotnet/visual-studio-2019-net-productivity-2/注意到在其中一张 GIF 图像中,她在 VS 编辑器内部显示了一个终端窗口。它看起来像一个成熟的 powershell 窗口。我们怎样才能得到它?这是屏幕截图。

enter image description here

最佳答案

How can we get that?

视频中的终端窗口似乎来自VS扩展Whack Whack Terminal 。 您可以在vs2017中下载并安装它。

(注:对于vs2017,应该是15.6+以上的版本)

更多详细信息(使用和设置)请查看Adding a terminal window to Visual Studio 2017A proper terminal for Visual Studio

更新:

1.安装扩展后,ctrl+\两次,然后终端窗口将显示在 vs 窗口的底部。我们可以通过拖动窗口来更改布局,如下所示:

enter image description here

2.希望这是你想要的。我们也可以通过工具=>选项=>键盘来更改该窗口的快捷键设置:

enter image description here

更新:

VS 2019 16.3+ 添加了终端窗口作为预览功能。感谢 FarhadPlatinums 提供的信息!相关信息见here .

关于terminal - 如何在 Visual Studio 2017/2019 中获取终端窗口?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/55486219/

相关文章:

Java数组: 2D array dysfunction in terminal ASCII terminal game during attempt to swap elements

c# - Visual Studio 不使用 List 初始化格式化文档

Visual Studio 中的正则表达式查找和替换不起作用

visual-studio - 代理服务器后面的 Visual Studio 更新

go - 使用不带命令的 PTY

macos - Mac 终端奇怪行为(回车时没有换行符,没有可见文本)

powershell - 删除项目不会删除文件夹

c# - "Debug"模式下的 Visual-studio 扩展项目构建错误

visual-studio-2010 - IClassifierProvider 未启动

c# - 在 EnvDTE 中调试时捕获 VS 局部变量