Instead of splitting windows, is it possible to drag the tabs to a new window in Visual Studio Code like Sublime, PHPstorm or Chrome?
When I drag a tab onto the desktop, it will copy the file.
Instead of splitting windows, is it possible to drag the tabs to a new window in Visual Studio Code like Sublime, PHPstorm or Chrome?
When I drag a tab onto the desktop, it will copy the file.
This is a very highly upvoted issue request in Github for Floating Windows.
Until they support it, you can try the following workarounds:
The Duplicate Workspace in new Window Command was added in v1.24 (May 2018) to sort of address this.
workbench.action.duplicateWorkspaceInNewWindow to Ctrl + Shift + N or whatever you'd like
Rather than manually open a new window and dragging the file, you can do it all with a single command.

As AllenBooTung also pointed out, you can open/drag any file in a separate blank instance.
VS Code will not allow you to open the same folder in two different instances, but you can use Workspaces to open the same directory of files in a side by side instance.
For any workaround, also consider setting setting up auto save so the documents are kept in sync by updating the files.autoSave setting to afterDelay, onFocusChange, or onWindowChange

Press CTRL+SHIFT+N to create a default new window.
Drag the tab into this new window.
Add C:\Users\Allen\AppData\Local\Programs\Microsoft VS Code to system path.
Type this command in terminal.
PS D:\xampp\htdocs\bi>code vendor/bin/../composer/autoload_files.php -n
ahk script and execute it.
+!v::
clipboardstr := Clipboard
run, code %clipboardstr% -n
return
Right click on the tab and then press shift+ alt+ c in vscode can copy file path to clipboard.
shift+ alt+ v open this page to new window.
This has been added in the newest update (1.85.x)
Just drag the tab into another screen (or outside vs code) it will open in as a new window