Is there any hope of having the ability to c&p of blocks between editor sessions?
Or even an exchange mechanism ala MIT AI2 and its backpack concept?
I know there is export blocks, but very cumbersome to use for small jobs and litters the directories with XML fragments. Not to mention, it only works with loaded library and custom blocks.
As far as I know, there is no way to select an arbitrary set of code blocks, copy it and paste it. That is what I am referring to.
The "arbitrary set" part means that you'll need something like the existing Export Blocks dialog. So really I think what you're asking for is just an "export to clipboard" option in Export Blocks. I also would occasionally find that useful, but not so much more convenient as to make it a high priority.
What I really want is to make the project name directly editable, so I don't end up with files with names like "untitled (5).xml."
The other thing along the lines you're suggesting that would be harder to implement, but I think more useful, would be the ability to drag out a rectangle in the scripting area and have all those scripts selected. The most common use case would be to delete them, but copying to another sprite is also sometimes desirable. Right now we have no concept of even a single selected script, except in the context of keyboard editing.
tl;dr: Possible but not likely to be a high priority.
Export to Clipboard would be just fine, if only Export Blocks allowed selection of any of the desired code blocks. Now, it only selects custom and library blocks.
Also, my objective is to c&p between different SNAP! tabs in the browser or offline versions.
But I understand the tl;dr:
I think he wants to export a selected script (which does contain some primitives, too, yes) to Clipboard in order to be able to paste the script into another project opened in another browser tab, if I understand correctly.
Yes, I would like to be able to extract any set of blocks (regardless of custom, library, primitives) and be able to paste them to another running version of SNAP! in the browser. This will make code reuse easier.
This is possible with microBlocks, MIT AI2, etc.
Yes, it's not a drag and drop feature... but go to any script, press [Shift]+[Right mouse button] and you'll get a hidden (red) "download script" option.
You'll get an xml with only this script, and you can drag and drop it to get that script in any other Snap! project.
But I think this answer the original question (to copy some blocks (a script) to other Snap! editor). And yes, this only copy this.
Maybe those scripts use global variables, or references to other sprites (tell, ask...), or broadcasting mesages... but this feature just copy these blocks.
That's why it's hidden behind shift-click. It's really not a finished feature we'd want to show users. (I'm not saying we're working on finishing it! That's definitely not a priority.)