[英]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
选项是我想从我的问题中得到答案。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.