tjvr / tosh2

text-based Scratch project editor, Take Two.
73 stars 15 forks source link

Hacked blocks #11

Closed icecream95 closed 7 years ago

icecream95 commented 7 years ago

I use a lot of hacked blocks, such as set (varname) to 1, which sets a variable named the contents of varname to 1.

In tosh, these blocks are marked red, and I get

Error saving project: Couldn't compile project

when trying to save.

Can you add support for hacked blocks (i.e. putting something else where an item from a drop-down is expected)?

icecream95 commented 7 years ago

Hacked blocks Some Scratch projects use “hacked” blocks: these are special blocks made by editing the JSON files by hand, which cannot be made using the normal Scratch editor. There are currently no plans to support these. Sorry!

Should've read the docs first.

icecream95 commented 7 years ago

Just re-opening this to ask why there are "no plans to support [hacked blocks]"?

tjvr commented 7 years ago

Mostly because compatibility with Scratch is an important goal, I think.

I don't think this is going to happen. Sorry!

icecream95 commented 7 years ago

I guess you mean compatibility with the Scratch editor, not Scratch itself.

Anyway, I'll probably just fork tosh and add support myself.