Shortcut for 'Run on Device' #233
Replies: 4 comments 2 replies
-
from the manifest there should already be a default shortcut defined :
naturally it is possible to add additional/different keys to the command as you prefer I fully agree that it should default to running on the last active (or only) device If there is a (small) selection , then that command can be run directly in the terminal as that then allow one to simply inspect variables by selecting and running them. |
Beta Was this translation helpful? Give feedback.
-
I'm for this as well. We can also stream all device data to the output tab, so that each device gets its own entry.
As for the behavior of running a script, I think all use cases have to be considered before we make any changes to existing functionality. Say I have a workspace with a couple of pymakr projects. The projects are related, but require different devices. If I run a file from project A I would expect it to run on one of the compatible devices from project A. Currently, running a script on a device can be done with There are a few ways to approach this: |
Beta Was this translation helpful? Give feedback.
-
@birdistheword96 said:
@Josverl said:
The Autoselect feature would be neat indeed, as, I believe, the default scenario will be people working on one single board at a time only. |
Beta Was this translation helpful? Give feedback.
-
New Preview version out. |
Beta Was this translation helpful? Give feedback.
-
There is already a shortcut for 'Upload to Device', but often if you're making quick changes to a screen gui or a scripts behaviour in the main.py file, you just want to run the script and check the changes. Having a shortuct for that would improve the workflow massively, and allow developers to quickly test there ideas without having to right-click, find pymaker list item, then click on 'run on device', then select the device, then hit enter every time.
Bonus would also be to auto-select the device and immediately run it if you only have one connected, that would save even more time!
Beta Was this translation helpful? Give feedback.
All reactions