LAW WEI LIANG
LAW WEI LIANG

Reputation: 547

Duplicate Visual Studio Code Window for "code ." command

Question

Why when I typed "code ." over command prompt, it will automatic open two visual studio code window?

Screen

https://prnt.sc/tvhjy6

Upvotes: 0

Views: 32

Answers (1)

mhutter
mhutter

Reputation: 2916

Use

code -a .

to add the folder to the last active window.

See code --help for more options.

Upvotes: 1

Related Questions