【问题标题】:Run with terminal in Visual Studio Code in a new window terminal在新窗口终端中使用 Visual Studio Code 中的终端运行
【发布时间】:2022-01-16 14:37:18
【问题描述】:

有什么办法让我在终端运行程序时,它会创建一个不使用 VS Code 中默认终端的新窗口终端?

1: https://i.stack.imgur.com/Y8Il0.png(例如这样)

【问题讨论】:

    标签: visual-studio-code terminal text-editor rich-text-editor


    【解决方案1】:

    如果您正在寻找在 VS Code 中使用不同终端配置文件的方法,并且不想在新窗口中打开终端,则可以尝试以下步骤:

    1. 打开 VS Code 命令面板:Cmd + Shift + P
    2. 输入“默认”
    3. 选择Terminal: Select Default Profile
    4. 选择您要使用的所需终端配置文件

    然后您可以使用Ctrl + ` 在 VS Code 中切换终端。

    【讨论】:

      猜你喜欢
      • 2021-05-26
      • 1970-01-01
      • 2019-08-03
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2018-02-16
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多