【问题标题】:How to get terminal window inside Visual Studio 2017 / 2019?如何在 Visual Studio 2017 / 2019 中获取终端窗口?
【发布时间】:2019-08-24 10:55:25
【问题描述】:

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

【问题讨论】:

  • 嗨,我刚刚更新了我的答案,有什么更新吗?或者我误解了你的意思。如果是这样,请随时纠正我:(
  • 另外,你可以在Microsoft/WhackWhackTerminal找到源代码。

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


【解决方案1】:

现在在 VS 2019 版本 16.6 中可用:https://devblogs.microsoft.com/visualstudio/the-powershell-you-know-and-love-now-with-a-side-of-visual-studio/

不过,我还是更喜欢 Whack Whack,因为您似乎无法更改字体大小。

【讨论】:

    【解决方案2】:

    我们怎样才能得到它?

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

    (注:vs2017版本应高于15.6+)

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

    更新:

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

    2.希望这是你想要的。我们也可以Go Tools=>Options=>keyboard来改变这个窗口的快捷键设置:

    更新:

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

    【讨论】:

    • 我刚刚将 Whack Whack Terminal 添加到 VS.NET 2019 Community 16.0.1,它工作得很好。
    • 是的,它现在适用于 vs2017 和 vs2019。而对于vs2017,应该是15.6+。
    • 非常适合我,只是 VS 2019 16.3+ 添加了终端窗口作为预览功能。 devblogs.microsoft.com/visualstudio/…
    • 更多关于 VS 2019 16.3+ 终端窗口的详细信息:devblogs.microsoft.com/visualstudio/…
    【解决方案3】:

    这现在是最新预览版(预览版 3)中的原生功能

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

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2022-01-16
      • 1970-01-01
      • 1970-01-01
      • 2020-01-18
      • 2012-01-21
      • 1970-01-01
      • 2018-03-07
      相关资源
      最近更新 更多