Send selected text from editor to board #1227
Replies: 12 comments
-
Posted at 2020-02-25 by Raik That's awesome. I find myself often enough doing the same thing. +1 for making this a standard feature of the WebIDE :) |
Beta Was this translation helpful? Give feedback.
-
Posted at 2020-02-25 by @gfwilliams Nice, thanks! This seems like a really neat idea. Having a key shortcut would be even more useful - I just added some code to make key shortcuts nice and easy, so I might try adding this there. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2020-02-25 by JumJum I love feedback like this :-)) |
Beta Was this translation helpful? Give feedback.
-
Posted at 2020-02-25 by @gfwilliams That's good feedback too ;) Actually SHORTCUTS was public you could just do I'll add that now. This is probably overkill but potentially if nothing was selected and the cursor was in a global function, the IDE could automatically upload that whole function... With the Acorn parser (used in the 'compiled'/etc handling) it's probably not such a big deal to do. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2020-02-25 by @gfwilliams Ok, just pushed it - but it's not live on espruino.com/ide yet. Currently I'm using |
Beta Was this translation helpful? Give feedback.
-
Posted at 2020-02-25 by Raik
would definitively speed things up
On german keyboard layout the \ needs to be used with Alt Gr, so Ctrl+Alt Gr+ |
Beta Was this translation helpful? Give feedback.
-
Posted at 2020-02-25 by @allObjects |
Beta Was this translation helpful? Give feedback.
-
Posted at 2020-02-25 by @allObjects The availability of a partial update can open can of worms... because its proper working depends on various things that require understanding of how Espruino works. So the documentation should include some warning / caution that this is an advanced function and its use could render the application broken... (You need to know what you are doing). |
Beta Was this translation helpful? Give feedback.
-
Posted at 2020-02-26 by Robin Tue 2020.02.25 I know I'm going to take a ton of flak for making this observation, but in the fun of those of us that know the poster experience level here. . . .
Editing in two browser instances at the same time are we? |
Beta Was this translation helpful? Give feedback.
-
Posted at 2020-02-26 by AkosLukacs Shift-enter works as a shortcut in some REPLs, I would prefer that. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2020-02-28 by @gfwilliams Ok, shift-enter sounds good. I'll make the change. re: 'Web-Ide's show/hide "right side"' - not quite sure what you mean? Alt/Alt-Gf + F doesn't seem to do anything for me. Ctrl-F goes fullscreen which might be what you mean? I'm not sure how that can get confused with AltGr though? |
Beta Was this translation helpful? Give feedback.
-
Posted at 2020-02-28 by AkosLukacs Oh, looks like it's a Native Ide only thing. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2020-02-25 by JumJum
During testing I often missed a function to send selected code from Editor Window to the board.
Examples are:
Obviously use of copy from editor and paste in terminal would help.
For my needs it became long-winded, and a hack was born.
Installation of quick hack:
Beta Was this translation helpful? Give feedback.
All reactions