Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a way to configure VSCode to always open projects in new window?

I am working a lot with ctrl + R in order to switch between projects, and I always use 'cmd' to force it to open in a new window (or bring into focus an already opened matched window). This way I never accidentally close active projects. It's a bit annoying to always use the 'cmd' key when choosing a project to open, is there a way to configure VSCode to use it by default? open folder

like image 635
niryo Avatar asked Dec 01 '25 01:12

niryo


1 Answers

"window.openFoldersInNewWindow": "on"

can be added to settings.json

Controls whether folders should open in a new window or replace the last active window. Note that there can still be cases where this setting is ignored (e.g. when using the --new-window or --reuse-window command line option).

like image 137
Bin Ury Avatar answered Dec 04 '25 14:12

Bin Ury



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!