Revert "Improve the local to native and remote to local copy, paste, and DND experience (#320685)"#323490
Merged
Merged
Conversation
Contributor
|
This PR will be automatically cherry-picked to |
Contributor
There was a problem hiding this comment.
Pull request overview
This pull request reverts the earlier changes that enhanced local-to-native and remote-to-local copy/paste and drag-and-drop behavior in the desktop workbench, restoring the prior clipboard/DND and remote file access behavior.
Changes:
- Revert native clipboard integration for file resources (back to VS Code’s custom
code/file-listclipboard buffer only). - Remove the remote file system proxy infrastructure (main/renderer pieces + tests) that enabled cross-window access to remote providers.
- Revert remote-to-local clipboard temp download logic in Explorer copy/cut flows and simplify DND text transfer behavior.
Show a summary per file
| File | Description |
|---|---|
| src/vs/workbench/services/clipboard/electron-browser/clipboardService.ts | Reverts platform-native file clipboard formats and returns to a single VS Code custom clipboard buffer format for resources. |
| src/vs/workbench/electron-browser/desktop.main.ts | Removes registration of the remote file system proxy server/client in the renderer. |
| src/vs/workbench/contrib/files/browser/explorerService.ts | Removes remote clipboard temp-download logic and writes original resources directly to the clipboard service. |
| src/vs/workbench/browser/dnd.ts | Reverts the filtering behavior for text drag data (restores prior behavior of setting text from all file-service resources). |
| src/vs/platform/files/test/electron-main/remoteFileSystemProxy.test.ts | Removes tests for the remote file system proxy main handler. |
| src/vs/platform/files/electron-main/remoteFileSystemProxyMainHandler.ts | Removes the main-process proxy router implementation. |
| src/vs/platform/files/electron-browser/remoteFileSystemProxyServer.ts | Removes the renderer-side server channel exposing file operations to other windows. |
| src/vs/platform/files/electron-browser/remoteFileSystemProxyClient.ts | Removes the renderer-side proxy provider used by windows without a direct remote connection. |
| src/vs/platform/files/common/remoteFileSystemProxy.ts | Removes the shared IPC channel name constants for the proxy feature. |
| src/vs/code/electron-main/app.ts | Removes the main-process channel registration for the remote file system proxy handler. |
Review details
- Files reviewed: 10/10 changed files
- Comments generated: 0
- Review effort level: Low
Contributor
📬 CODENOTIFYThe following users are being notified based on files changed in this PR: @deepak1556Matched files:
|
dbaeumer
approved these changes
Jun 29, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This reverts commit f9070ac.