如何在当前应用程序 window 中从集成终端打开 VSCode 中的文件?
How to open file in VSCode from integrated terminal in a current application window?
现在:
rudskoy$>: code temp.py
—————> It opens temp.py in a new VS Code window!
我想要的:
rudskoy$>: code temp.py
—————> It opens temp.py in a current window as a new tab
此行为是否可配置?
我调查了终端命令 (code
) 有一个 --help
选项。
--help
表示:-r, --reuse-window Force opening a file or folder in the last active window.
这个-r
选项是我想从我的问题中得到的。
现在:
rudskoy$>: code temp.py
—————> It opens temp.py in a new VS Code window!
我想要的:
rudskoy$>: code temp.py
—————> It opens temp.py in a current window as a new tab
此行为是否可配置?
我调查了终端命令 (code
) 有一个 --help
选项。
--help
表示:-r, --reuse-window Force opening a file or folder in the last active window.
这个-r
选项是我想从我的问题中得到的。