如何在 VS Code 集成模式下打开 Windows 终端

Ami*_*imi 2 visual-studio-code windows-terminal

我已添加以下几行Terminal \xe2\x80\xba Integrated \xe2\x80\xba Profiles: Windows

\n
    "terminal.integrated.profiles.windows": {\n        "WTP": {\n          "path": "C:\\\\Users\\\\***\\\\AppData\\\\Local\\\\Microsoft\\\\WindowsApps\\\\wt.exe",\n        }\n    },\n    "terminal.integrated.defaultProfile.windows": "WTP",\n
Run Code Online (Sandbox Code Playgroud)\n

但这会将 Windows 终端打开为外部窗口

\n

我想以集成模式打开此终端,将其放入 VS Code 窗口中

\n

小智 6

感谢 @Sercan 评论,官方文档指出这是不可能的,因为 VSCode 是用 TypeScript 编写的,而 Windows Terminal 是本机代码。

在此输入图像描述