Closed aivarannamaa closed 5 years ago
Maybe I'm misunderstanding your request, but "Run => Run current script (F5)" currently does this.
Original comment by Jens Diemer (Bitbucket: jedie GitHub: jedie ).
Yes, you are right "F5" does the job...
The problem was: I was just looking under "device" menu, because I was mistaken in thinking that the "run" main menu is only for "run with local python interpret" and not with "device interpreter" ;)
I don't know how better to solve this for beginners.
Here's what I can think of:
Everything under Run-menu is applied against current back-end, there is no local python interpreter available when MicroPython back-end is selected. Also, the editor (code-completion) works against current back-end. The Device menu contains the items that are specific to MicroPython.
At the moment I'd prefer not to change this
In the light of #531, I'm even considering getting rid of the "Device" menu:
Implemented in 3.2
Original report by Jens Diemer (Bitbucket: jedie GitHub: jedie ).
ampy (Adafruit MicroPython Tool) has the "run" command that: "Run a script and print its output."
It'd be great if we had that, too ;)