Skip to content
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

Adding folders via Drag & Drop does not retain folder order #128780

Closed
matkatmusic opened this issue Jul 15, 2021 · 2 comments
Closed

Adding folders via Drag & Drop does not retain folder order #128780

matkatmusic opened this issue Jul 15, 2021 · 2 comments
Assignees
Labels
file-explorer Explorer widget issues *question Issue represents a question, should be posted to StackOverflow (VS Code)

Comments

@matkatmusic
Copy link

Issue Type: Bug

Drag a group of folders from Finder on OS X into a Visual Studio Code window.
In previous versions of Visual Studio code, the folders would be added in alphabetical order to the Explorer in VSCode.
In the latest version, their order is random.

I have attached a few screenshot showing the folders I have dragged in to the VSCode window, and the way they end up being ordered in VSCode's Explorer.

Screen Shot 2021-07-15 at 10 49 39 AM

Screen Shot 2021-07-15 at 10 51 13 AM

VS Code version: Code 1.57.1 (Universal) (507ce72, 2021-06-17T13:28:32.912Z)
OS version: Darwin x64 19.6.0
Restricted Mode: No

System Info
Item Value
CPUs Intel(R) Core(TM) i7-10700K CPU @ 3.80GHz (16 x 3800)
GPU Status 2d_canvas: enabled
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
rasterization: enabled
skia_renderer: disabled_off_ok
video_decode: enabled
webgl: enabled
webgl2: enabled
Load (avg) 2, 2, 2
Memory (System) 64.00GB (14.15GB free)
Process Argv -psn_0_9439488 --crash-reporter-id b7b14ef3-b8f3-4bb9-997b-7df296b8766a
Screen Reader no
VM 22%
Extensions (1)
Extension Author (truncated) Version
php-debug fel 1.16.1
A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383:30185418
pythonvspyt700cf:30270857
pythonvspyt602:30300191
vspor879:30202332
vspor708:30202333
vspor363:30204092
pythonvspyt639:30300192
pythontb:30283811
pythonvspyt551:30311712
vspre833:30321513
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
pythondataviewer:30285071
vscus158:30321503
pythonvsuse255:30335481
vscod805:30301674
pythonvspyt200cf:30331938
vscextlangct:30333562
binariesv615:30325510
bridge0708:30335490

@isidorn
Copy link
Contributor

isidorn commented Jul 26, 2021

This can be controlled using the
explorer.sortOrder and the explorer.sortOrderLexicographicOptions settings

@isidorn isidorn closed this as completed Jul 26, 2021
@isidorn isidorn added *question Issue represents a question, should be posted to StackOverflow (VS Code) file-explorer Explorer widget issues labels Jul 26, 2021
@matkatmusic
Copy link
Author

It was set to the default order, and default lexicographic order. It seems like the sort code for drag-and-drop operations doesn't take into account numbers that appear in the file or folder name.

@github-actions github-actions bot locked and limited conversation to collaborators Sep 9, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
file-explorer Explorer widget issues *question Issue represents a question, should be posted to StackOverflow (VS Code)
Projects
None yet
Development

No branches or pull requests

2 participants