Open benoitLecuppe opened 7 months ago
hum hum ;-) i found in activator.mtd line 610 ''' // TODO: maybe upload relative to project root like uploadProject does with files
'''
Good idea though there're some cases that have to be solved first: Ok, and where would you suggest/like a file stored outside the sync-directory to be uploaded to, root? And if its within an additional sync root which is child of the main sync-root?
Or would you prefer a short dialog asking if you want to upload it relative to the most direct sync-root the file is in or if you instead want to upload it to the root?
+1 for this enhancement. my setting of "Micropico: Sync Folder" is empty, I guess user expects that command "microPico : Upload current file to Pico" uploads the file onto the device with the similar path as the command "upload project" does.
Thank you for this nice extension, Thonny is really too limited.
Yes, I think in 90% of use cases people want to upload a directory like "upload a project".
My use case: I have a “/web” folder with tons of static web files and it is taking a long time to upload. So I can't use the "upload project" command. I also have Python library folders that I upload more often.
Typically, I use the context menu in the left Explorer view. We have two commands:
Maybe we could have two (or three) commands like "Save" and "Save As...": the command can apply to a file, a folder, a multiple selection of file and folder.
'upload':
'upload files':
This command is very useful for copying the root folder without copying subfolders.
'Upload as...': Opens a dialog where we can change the destination and say whether we want the subfolders to be processed recursively or not.
Actualy the drag and drop between project and Remote workspace allows me to nice get around this problem
Actualy the drag and drop between project and Remote workspace allows me to nice get around this problem
Just make sure to hold Ctrl
(Windows) so that it copies rather than moves it, or use Ctrl+C
, Ctrl+V
.
sorry for my bad english i'm an old French ;-)
What are the steps to reproduce this issue?
What happens?
the file test.py was uploaded in root directory on the device not in subdirectory
Which version of MicroPico are you using?
Published 2022-08-10, 16:43:54 Last released 2023-11-23, 00:07:21 Last updated 2023-11-24, 19:24:12
Support info