microsoft / microsoft/vscode-remote-release

Enable folder path drag & drop from sidebar explorer to terminal

Open
#11,494 1 comment 7 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

ssh
Dominant language
Dockerfile
Stars
4.2k
Forks
469
Avg merge
1d 1h
Merged PRs (30d)
1

Description

In a local VS Code session, dragging a folder from the Sidebar Explorer into the Integrated Terminal correctly pastes the absolute path of that folder. However, when connected to a remote server via the Remote - SSH extension, this functionality is lost. Nothing is pasted into the terminal when the folder is dropped.

Followed steps:

  • Run code with code --transient so that no extensions are initially intalled
  • Drag & drop of a local folder from the explorer to the terminal correctly pastes the path
  • Install Remote - SSH extension
  • Connect to a remote machine via SSH
  • Drag & drop of a remote folder from the remote explorer to the remote terminal does not paste the path

Expected Behavior:
The terminal should receive the absolute path of the folder on the remote filesystem (e.g., /home/user/my-folder).

Environment Details:
VS Code Version: 1.109.4
Local OS: Ubuntu 22.04.5 LTS
Remote OS: Ubuntu 24.04.3 LTS
Extension: Remote - SSH

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the drag-and-drop flow with Remote - SSH connected, comparing the local Explorer-to-Integrated Terminal behavior with the remote Explorer. Trace the Explorer and terminal drag/drop handling available in the VS Code and Remote - SSH integration; done means dropping a remote folder pastes its absolute remote path into the remote terminal.

Written by the indexing model from the issue text.

Assessment

Tech stack
vscode
Domain
desktop-dev, developer-experience
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.