vscode: Cannot drop a *. ply file into the window

Issue Type: Bug

  1. extract tracks.ply from tracks.zip
  2. drag&drop file into vscode

I am getting the error: Unable to open 'tracks.ply': P.overwrite is not a function.

Does this issue occur when all extensions are disabled?: Yes

However, I can open the file via the the Open File... menu (Ctrl + O).

VS Code version: Code 1.56.0 (cfa2e218100323074ac1948c885448fdf4de2a7f, 2021-05-04T21:58:14.757Z) OS version: Linux x64 5.8.0-50-generic snap

System Info
Item Value
CPUs Intel® Core™ i9-9980HK CPU @ 2.40GHz (16 x 3707)
GPU Status 2d_canvas: unavailable_software
gpu_compositing: disabled_software
multiple_raster_threads: enabled_on
oop_rasterization: disabled_off
opengl: disabled_off
rasterization: disabled_software
skia_renderer: enabled_on
video_decode: disabled_software
vulkan: disabled_off
webgl: unavailable_software
webgl2: unavailable_software
Load (avg) 4, 4, 4
Memory (System) 15.28GB (0.32GB free)
Process Argv –disable-extensions --no-sandbox --crash-reporter-id 95b86372-ef65-41ed-9cdd-8712129452ef
Screen Reader no
VM 0%
DESKTOP_SESSION ubuntu
XDG_CURRENT_DESKTOP Unity
XDG_SESSION_DESKTOP ubuntu
XDG_SESSION_TYPE x11
Extensions disabled
A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383:30185418
pythonvspyt602:30294772
vspor879:30202332
vspor708:30202333
vspor363:30204092
pythonvsnew554cf:30291488
pythontb:30283811
vspre833cf:30267465
pythonptprofiler:30281270
vshan820:30294714
pythondataviewer:30285071
vscus158:30286553
vscgsv2:30294352

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 21 (8 by maintainers)

Most upvoted comments

@bpasero Thank you very much for considering and solving my edge case 😃

@lramos15 take note of commit, we were passing untyped IEditorOptions to the group but internally expect EditorOptions. This is a bad typing issue that I can look to cleanup in debt week, I think we should drop the EditorOptions and TextEditorOptions classes entirely and only allow object bags as options without methods.

I installed the insider build and replaced the settings.json with:

{
    "workbench.editorAssociations": [
        {
            "viewType": "default",
            "filenamePattern": "*.ply"
        },
    ],
}

and the problem shows up.

So this part of the settings is causing the issue with drag&drop-ing PLY files.