mu-editor / mu

A small, simple editor for beginner Python programmers. Written in Python and Qt5.
http://codewith.mu
GNU General Public License v3.0
1.4k stars 434 forks source link

Feature Request: Expand "Files" capabilities. #996

Open the-stanely opened 4 years ago

the-stanely commented 4 years ago

One of the most outstanding features of the Mu editor is that it performs some of the features of ampy through its 'Files' pane. It would be useful if this capability was expanded to include:

dybber commented 4 years ago

Additionally it would be nice to be able to create folders on the device (requested in #1022)

KKawase0104 commented 4 years ago

Hello. Maybe, I had implemented something close. If it's the same as your image, I'm going to implement it in ESP32 mode.

sample

dybber commented 4 years ago

@KKawase0104 looks good. Is that just a sketch, or something you already implemented?

Another point regarding the file manager, is that currently is a bit difficult to understand how to use it. It's only drag and drop based right now, and you have to "guess" or be told that you can drag files from one side to the other. Would be nice if it was somehow made more "intuitive", or just support multiple ways of copying files. Here are some alternatives to drag and drop:

I don't know which of these are the right to add, I have just experienced students who get stuck because they can't figure out how to use the file manager.

ZanderBrown commented 4 years ago

I think a context item makes sense

dybber commented 4 years ago

Just thought more about this, and I think that it would also make it more intuitive for users if a icons are used to distinguish files from folders, that would make it seem more like a traditional file manager. I think the best way to go is to mimick a traditional file manager as much as possible.

KKawase0104 commented 4 years ago

@dybber @ZanderBrown

Thanks for your comment. It's already implemented on our device that use MicroPython. I'm porting it for this repository. I plan to post it here at the end of this weekend.

KKawase0104 commented 4 years ago

Sorry for the delay. I made for the ESP32. 7bf330a

dybber commented 4 years ago

Hi @KKawase0104, could you perhaps send this in as a pull-request, then we can take the discussion there?

KKawase0104 commented 4 years ago

@dybber Thank you for your comment. I will rebase and pull-request.