Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

VSCode: “~$ code file” opens new window instead tab

In a Terminal within VSCode, when I type

~$ touch deleteme.file
~$ code deleteme.file 

a new VSCode windows opens up (with considerable loading time), instead of opening the file in a tab of the current window. How can I fix this?

I have the same behavior on

~$ code -r deleteme.file or

~$ code --reuse-window deleteme.file

[duplicate from this prematurely closed question]

like image 870
Dr-Nuke Avatar asked Jul 16 '26 17:07

Dr-Nuke


1 Answers

Reinstalling VScode was the solution.

like image 135
Dr-Nuke Avatar answered Jul 26 '26 00:07

Dr-Nuke



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!