【发布时间】:2021-12-06 09:12:55
【问题描述】:
我在 vscode 中打开了一个项目。
我在项目目录下的 Windows Powershell,当我键入时
code test.html
它将打开文件,但使用新的 vscode 实例,我想在已经打开的项目中代替:有可能吗?
【问题讨论】:
标签: powershell visual-studio-code
我在 vscode 中打开了一个项目。
我在项目目录下的 Windows Powershell,当我键入时
code test.html
它将打开文件,但使用新的 vscode 实例,我想在已经打开的项目中代替:有可能吗?
【问题讨论】:
标签: powershell visual-studio-code
是的,可以使用-r (--reuse-window) 选项。
例如:
code -r .\Dockerfile
【讨论】:
psedit file.txt