vscode second window code example
Example 1: visual code open in another window
1.Press CTRL+SHIFT+N to create a default new window.
Example 2: vscode second window
On Windows and Linux, press Ctrl+K, then release the keys and press O (the letter O, not Zero).
On macOS, press command+K, then O (without holding command).
This will open the active file tab in a new window/instance.