Show script source from flash #287
Unanswered
espruino-discuss
asked this question in
JavaScript
Replies: 1 comment
-
Posted at 2014-07-04 by @gfwilliams Hi Brian, glad you found the answer... That could be a neat idea. I'll add it as something to do on the IDE. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2014-07-03 by Brian
This was going to be a question post, but I just found the answer so I'm posting it to benefit others. Maybe I haven't watched enough tutorials, but it was a bit non-obvious to me.
If you want to display the source file currently stored in flash, use the "dump()" function. This works nicely if you are editing the source on one workstation, save it to flash and take the Espruino with you, then want to show/edit the source on another machine.
How about a way to call dump() directly from the IDE and dump the source into the editor window?
Beta Was this translation helpful? Give feedback.
All reactions