Discuss Scratch

--Explosion--
Scratcher
1000+ posts

Better Way to Delete Custom Blocks

I would love it if you could somehow actually delete a custom block without it saying “To delete a block definition please remove all uses of the block” It should say something like “Remove … uses of the block … and delete its definition?”
kritav
Scratcher
100+ posts

Better Way to Delete Custom Blocks

I guess this could be implemented.

But I guess it is better if it manually makes you delete all the uses as you can't “accidentally” delete all your code. Of course, the reason it makes you manually remove all the uses is that one custom block doesn't stay behind in the editor with all of its other block types deleted.
-Accio-
Scratcher
1000+ posts

Better Way to Delete Custom Blocks

Support!

This would be a small change, but could be useful if you have lots of code and don't want to track down a certain block to delete it.
NilsTheBest
Scratcher
1000+ posts

Better Way to Delete Custom Blocks

hehe, #relatable :P

Sometimes when I make a custom block, use it a lot, and then think “nevermind”, trying to find all of its uses can be long and annoying. So being able to have a feature similar to this one would be practical.
BumpSign
Scratcher
100+ posts

Better Way to Delete Custom Blocks

Support! I can see why they don't have it, since it could make people go like, “Where did part of my script go?”, but if done right they could avoid confusion.
--Snowball--
Scratcher
500+ posts

Better Way to Delete Custom Blocks

NilsTheBest wrote:

Sometimes when I make a custom block, use it a lot, and then think “nevermind”, trying to find all of its uses can be long and annoying. So being able to have a feature similar to this one would be practical.

That's just what I was going to say. Support!
ACE2_0
Scratcher
11 posts

Better Way to Delete Custom Blocks

What if it moved you to the custom block / highlighted it when you tried to do so, so you could find any hidden uses of the custom block.

Something like this:

(custom block (input :: custom-arg) :: stack custom) :: ring #FF0000

(It would probably look better when implemented)
donotknw
Scratcher
48 posts

Better Way to Delete Custom Blocks

surpport
Queer_Royalty
Scratcher
1000+ posts

Better Way to Delete Custom Blocks

ACE2_0 wrote:

What if it moved you to the custom block / highlighted it when you tried to do so, so you could find any hidden uses of the custom block.

Something like this:

(custom block (input :: custom-arg) :: stack custom) :: ring #FF0000

(It would probably look better when implemented)
That would be somewhat more helpful than nothing, but what if one has a lot of custom block uses? But, for nervous people like me who don't want to risk accidentally deleting a really long script, this could be very useful. Maybe an option for both? ‘Find custom block ’Banana'' and ‘Delete block and all uses’?
DinoMaster20
Scratcher
1000+ posts

Better Way to Delete Custom Blocks

Support, sometimes I use them a lot just to find out I didn't need em.

Powered by DjangoBB