bbcmicrobit / PythonEditor

A MicroPython editor for the BBC micro:bit that works with browsers.
https://python.microbit.org/
MIT License
196 stars 130 forks source link

Add multi-file drop processing #111

Open PropGit opened 5 years ago

PropGit commented 5 years ago

The Load button's file management dialog has a drop target and an Add a file to the filesystem button.

The button opens an OS file browser dialog that accepts selecting multiple modules and indeed processes them properly (adding them to the file system in one operation); however, while the drop target accepts a multi-file drop event, it does not process any but the first module in the selection.

When multiple modules need to be added to a project, the drop target method isn't as convenient without this multi-file drop capability.

PropGit commented 5 years ago

Also request that the editor's drop target accept multi-file drops; it currently behaves exactly light the file management dialog's drop target.