gpt4 book ai didi

visual-studio-code - 在开发容器中运行 VSCode 时如何打开本地终端

转载 作者:行者123 更新时间:2023-12-05 03:28:55 25 4
gpt4 key购买 nike

我在 VSCode container 中使用 VSCode 编写代码.

I can open terminals inside the dev container ,但我不知道如何在我的本地机器上打开(VSCode 集成)终端。

我当然可以打开单独的终端应用程序,比如 iTerm2,但是使用 VSCode 的集成终端面板要方便得多。是否可以使用 VSCode 开发容器打开本地终端?

最佳答案

此解决方案在 this SO question 上的已接受答案中提供,所以如果以下内容有帮助,请去投票。

Using the command palette (default ctrl+shift+p/cmd+shift+p), there is an option

Terminal: Create New Integrated Terminal (local)

enter image description here

关于visual-studio-code - 在开发容器中运行 VSCode 时如何打开本地终端,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/71145541/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com