1

Topic: copy code button

Add a copy code button on the get code result page.
Cofpy code to clipboard to allow pasting into IDE

2

Re: copy code button

this would be a real time saver
now - highlight several pages of text  ctr-c
better - hit copy button above the text to copy to clipboard.


not sure what the value of downloading a zip of a small text file is.  why not replace that with Copy Text

3

Re: copy code button

chrismolloy wrote:

this would be a real time saver
now - highlight several pages of text  ctr-c
better - hit copy button above the text to copy to clipboard.


not sure what the value of downloading a zip of a small text file is.  why not replace that with Copy Text

I agree, and the copy should include the header lines to ensure it gets into your sketches, but not the "ToDo" bits at the end.

I put my RemoteXY declarations into a separate tab in my sketches, and when I have copied the block from the web-page, I go to that tab, and simply hit Ctrl-a (select All), then ctrl-v (paste). That obviously replaces everything with the new interface and GUI definitions. The copying part is the hard bit, especially if the block is large ....

In fact wouldn't it makes sense to have a "Copy Source Code" button on the design page, so it's a one-button click to copy it to the clipboard, then switch to the tab in the ino, ctrl-a, ctrl-v - 4 clicks in all !!

2B, or not 2B, that is the pencil ...