-
Notifications
You must be signed in to change notification settings - Fork 30k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't drag files from a remote vscode window to a local window #93599
Comments
The issue here is that the target widnow does not have the remote connection and in this case we can not get the files over in any way. |
How is it different from dragging to the desktop though? |
@roblourens good question. For that I believe we have some URI rewritting logic / configuring chrome to be able to get vscode-remote uri content in place done by @alexandrudima |
This only works because we register a protocol handler on the electron main side to handle these URLs. This would not work on a window that is not connected to the same remote. |
IMHO the drag & drop feature should not be based on the protocol handler we register. I plan to remove that this milestone because we have bugs with missing icons... |
Then it seems we might disable the drag and drop feature from remote to desktop since this only works due to the protocol handler. And I do not see any other way to get this to work. |
Looking into a PR to see how feasable this is. From @bpasero
vscode/src/vs/workbench/browser/dnd.ts Line 72 in 54bccc2
|
Will cut/copy and paste work as part of this work too? I always do that instead of dragging. |
need this feature |
much needed for remote ssh - Linux. For me both local to remote and vice versa is not working. |
Maybe an alternative to putting all the data into the transfer is to only put the remote resource and then ask the remote window to get the data via some IPC call. E.g.:
This would however not solve dropping a remote resource from e.g. insiders to stable VSCode. |
Created this PR as work in progress #98817 |
Just found this issue. I also need upload in addition to download. |
Futher discussions in the PR #98817 |
Is there any update? |
need this feature |
this will be great! |
need this feature |
This is definitely needed to me as well! Are there updates? |
Guys, I resolved this problem. Opening vs code with Administrator privilege, dragging files is blocked. hope it helpful for you. |
Any progress on this? Dnd from remote to local only to got a .inetloc file. Really need this. |
I can do this local -> remote to copy files, and I can do this from a remote vscode window to Finder, but not remote -> local vscode windows.
The text was updated successfully, but these errors were encountered: