I have a project opened in vscode.
I Windows Powershell, under project directory, when I type
code test.html
It will open the file but with a new vscode instance, I want in the already opened project instead: is it possible?
Yes, it is possible with the -r
( --reuse-window
) option.
For example:
code -r .\Dockerfile
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.