vscode shortcut key to open tab in new window code example Example: visual code open in another window 1.Press CTRL+SHIFT+N to create a default new window.