microsoft / microsoft/vscode-remote-release

Dragging and Dropping Files From Explorer Into Terminal Uses Backslashses [WSL]

Open
#2,968 0 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Issue Type: Bug

Dragging and dropping a file from the Explorer sidebar into the terminal while in a remote WSL session will paste the absolute file path into the terminal, but the forward slashes will be backslashes instead.

Right clicking and copying the relative path will give the path with proper forward slashes.

Extension version: 0.44.2
VS Code version: Code 1.45.0 (d69a79b73808559a91206d73d7717ff5f798f23c, 2020-05-07T16:18:48.860Z)
OS version: Windows_NT x64 10.0.18363
Remote OS version: Linux x64 4.4.0-18362-Microsoft

System Info
Item Value
CPUs AMD Ryzen 7 3700X 8-Core Processor (16 x 3593)
GPU Status 2d_canvas: enabled
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: disabled_off
protected_video_decode: unavailable_off
rasterization: enabled
skia_renderer: disabled_off_ok
video_decode: enabled
viz_display_compositor: enabled_on
viz_hit_test_surface_layer: disabled_off_ok
webgl: enabled
webgl2: enabled
Load (avg) undefined
Memory (System) 31.95GB (25.04GB free)
Process Argv --folder-uri vscode-remote://wsl%2Bubuntu/mnt/c/Users/rgba/Desktop/Scrap/Personal-Ansible-Config
Screen Reader no
VM 0%
Item Value
Remote WSL: Ubuntu
OS Linux x64 4.4.0-18362-Microsoft
CPUs AMD Ryzen 7 3700X 8-Core Processor (16 x 3593)
Memory (System) 31.95GB (25.04GB free)
VM 0%

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 issue by dragging a file from the Explorer into a terminal during a WSL: Ubuntu remote session, then compare the pasted absolute path with the path from copying a relative path. Done means the dragged path uses forward slashes, matching the expected Linux path format.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux, ubuntu, vscode
Domain
cli, operating-systems
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.