vs code open file in new window
On Windows and Linux, press CTRL + K, then release the keys and
press O (the letter O, not Zero).
On macOS, press CMD + K , then O (without holding CMD ).
This will open the active file tab in a new window/instance.