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