Send selected lines to Espruino #6335
Unanswered
espruino-discuss3
asked this question in
General
Replies: 1 comment
-
Posted at 2020-10-05 by @gfwilliams Actually, if you go to
So that should do exactly what you want? It's not a specific button but just a keypress, but still... I guess another option is to have the snippets option be able to check the contents of the current editor file for comments of a special form:
Might work? Posted at 2020-10-05 by JumJum Oh,... |
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 2020-10-05 by JumJum
During testing, Terminal window is often used to send same commands.
Typing same thing again and again is boring.
Snippets could be one way to help, but working with several projects blows up snippets.
I would prefer to save testing commands in project file, to have them available whenever comin back to project.
Therfore just tested, how we could send selected lines from code window.
Short extension to js/core/send.js(line 47) like this could help.
It first checks for selected lines in code window, and sends this code only.
If nothing is selected it sends whole project.
I'm not fully satisfied with this solution.
It would be a change for send button, any idea to do better ?
Beta Was this translation helpful? Give feedback.
All reactions