How do I copy Blocks between Files

How do I copy a block from one file to another file ?

I am trying to avoid having to type in Blocks from the example files into my active file.

Cheers, Paul

You can Copy + Paste them, won’t take much time.

1 Like

How? I don’t see this ability in VEXCode Blocks IQ. In SCRATCH they have the backpack for this, but I don’t see it here.

1 Like

Since the blocks are all keyed off of the robot configuration, there’s currently no way to “combine” files together as of today. This is something we’re continuing to investigate.

4 Likes

So does this mean I would have to type it in the slow way ? That would seem a little silly ?

1 Like

Well for some reason I can just press a block, control+c, then go onto new file and control+v and the code is there.

5 Likes

I can do the same thing

1 Like

HOLY CRAP YOU’RE RIGHT!!!

Thanks! There isn’t a menu for it so I never tried it. That was SO nice…

2 Likes

There’s a reason we haven’t exposed it as it’s a bit experimental and not 100% supported… so if you run into weird behaviors, please keep that in mind…

4 Likes

This same maneuver also works in macOS… click on block | cmd-c | open target file | cmd-v | it pastes! When I tried this, I clicked beneath the target code, pressed cmd-v, and the copied code pasted on top of the existing code, slightly down and to the left. This is gonna save a LOT of time!