Discuss Scratch

doyouknowjasher441
Scratcher
100+ posts

delete all blocks/reporters that are not connected to a hat block

Please add “ delete all blocks/reporters that are not connected to a hat block ” to the menu in the editor next to delete all blocks it will be so useful because I make a lot of blocks/reporters scattered through my project that are not connected to anything and when I load my project scratch loads the blocks/reporters that are not connected to a hat block and it is a pain waiting extra time waiting for those unused blocks to load and I don't want to delete the blocks/reporters myself because there is so much unused code in every sprite so yep.
( Note: This guy

k7e wrote:

Maybe “delete stray blocks” could be a suitable name.
name for it is better but with the edition of “ /reporters ” so make the name like " Delete stray blocks/reporters )

Last edited by doyouknowjasher441 (Nov. 9, 2023 06:26:06)

KingRat_1
Scratcher
100+ posts

delete all blocks/reporters that are not connected to a hat block

Support
IndexErrorException
Scratcher
500+ posts

delete all blocks/reporters that are not connected to a hat block

KingRat_1 wrote:

Support

This time I agree with you!

When I get making my hundred block+ projects there always ends up hundreds of reporters and operators and random blocks everywhere, just go to my Verlet Integration project
yadayadayadagoodbye
Scratcher
1000+ posts

delete all blocks/reporters that are not connected to a hat block

pretty self explanatory on how this is useful, could probably be placed under the “delete all blocks” button, only issue would be how hard it'd be to implement (idk, because idk how scratch blocks are stored lol)
doyouknowjasher441
Scratcher
100+ posts

delete all blocks/reporters that are not connected to a hat block

IndexErrorException wrote:

KingRat_1 wrote:

Support

This time I agree with you!

When I get making my hundred block+ projects there always ends up hundreds of reporters and operators and random blocks everywhere, just go to my Verlet Integration project
Thanks!
TheEpikGamer211
Scratcher
1000+ posts

delete all blocks/reporters that are not connected to a hat block

useful.
doyouknowjasher441
Scratcher
100+ posts

delete all blocks/reporters that are not connected to a hat block

yadayadayadagoodbye wrote:

pretty self explanatory on how this is useful, could probably be placed under the “delete all blocks” button, only issue would be how hard it'd be to implement (idk, because idk how scratch blocks are stored lol)
But it will be worth it. lol
ajskateboarder
Scratcher
1000+ posts

delete all blocks/reporters that are not connected to a hat block

Support because

TheEpikGamer211 wrote:

useful.
Maybe it could be called “Delete old code”. Also here's a mockup for you

MagicCoder330
Scratcher
1000+ posts

delete all blocks/reporters that are not connected to a hat block

Looks like a good idea. It should be like “delete loose variables” or something though, because sometimes there are disconnected parts that are just UNUSED, not removed.
trainmancomics
Scratcher
30 posts

delete all blocks/reporters that are not connected to a hat block

Support. A lot of times when I'm coding, leftover blocks (i'll call them “crumbs”) will show up around the main code body, due to testing, fixing a bug, whatever. This doesn't make the code look pretty. So in my effort to delete this code, I hit “Clean up code blocks” (or whatever it's called idk) to find them all. But in the process I forget where my code bodys where so I either painfully drag them to where they used to be or try to get adapted to the layout. This would make the code section look so much nicer.
qwerty_wasd_gone
Scratcher
1000+ posts

delete all blocks/reporters that are not connected to a hat block

This post is useless now. (Not the topic itself I mean post #11 on this topic)

Last edited by qwerty_wasd_gone (Nov. 7, 2023 18:11:30)

doyouknowjasher441
Scratcher
100+ posts

delete all blocks/reporters that are not connected to a hat block

qwerty_wasd_gone wrote:

Oh you forgot 3 things…

when I start as a clone
define ...
They are both hat blocks that aren't in events.

Also the extension hats which are their own categories themselves and are not in events.

So that's not good. It should be
delete all blocks that are not connected to a hat block
and not

Current title wrote:

delete all blocks that are not connected to a event block
oh ok, lemme fix that
yadayadayadagoodbye
Scratcher
1000+ posts

delete all blocks/reporters that are not connected to a hat block

qwerty_wasd_gone wrote:

Oh you forgot 3 things…

when I start as a clone
define ...
They are both hat blocks that aren't in events.

Also the extension hats which are their own categories themselves and are not in events.

So that's not good. It should be
delete all blocks that are not connected to a hat block
and not

Current title wrote:

delete all blocks that are not connected to a event block
maybe just “delete all disconnected blocks”?
doyouknowjasher441
Scratcher
100+ posts

delete all blocks/reporters that are not connected to a hat block

yadayadayadagoodbye wrote:

qwerty_wasd_gone wrote:

Oh you forgot 3 things…

when I start as a clone
define ...
They are both hat blocks that aren't in events.

Also the extension hats which are their own categories themselves and are not in events.

So that's not good. It should be
delete all blocks that are not connected to a hat block
and not

Current title wrote:

delete all blocks that are not connected to a event block
maybe just “delete all disconnected blocks”?
i edited the post, now its correct now
doyouknowjasher441
Scratcher
100+ posts

delete all blocks/reporters that are not connected to a hat block

qwerty_wasd_gone wrote:

Post was edited.
i fixed it check my post now

Last edited by doyouknowjasher441 (Nov. 7, 2023 18:11:01)

qwerty_wasd_gone
Scratcher
1000+ posts

delete all blocks/reporters that are not connected to a hat block

doyouknowjasher441 wrote:

yadayadayadagoodbye wrote:

qwerty_wasd_gone wrote:

Oh you forgot 3 things…

when I start as a clone
define ...
They are both hat blocks that aren't in events.

Also the extension hats which are their own categories themselves and are not in events.

So that's not good. It should be
delete all blocks that are not connected to a hat block
and not

Current title wrote:

delete all blocks that are not connected to a event block
maybe just “delete all disconnected blocks”?
i edited the post, now its correct now
Well then support, because it helps cleaning up the project and it is optional.
doyouknowjasher441
Scratcher
100+ posts

delete all blocks/reporters that are not connected to a hat block

qwerty_wasd_gone wrote:

doyouknowjasher441 wrote:

yadayadayadagoodbye wrote:

qwerty_wasd_gone wrote:

Oh you forgot 3 things…

when I start as a clone
define ...
They are both hat blocks that aren't in events.

Also the extension hats which are their own categories themselves and are not in events.

So that's not good. It should be
delete all blocks that are not connected to a hat block
and not

Current title wrote:

delete all blocks that are not connected to a event block
maybe just “delete all disconnected blocks”?
i edited the post, now its correct now
Well then support, because it helps cleaning up the project and it is optional.
thanks for notifying me tho
PaperMarioFan2022
Scratcher
1000+ posts

delete all blocks/reporters that are not connected to a hat block

Good idea! This would be amazing to have in case if you forgot to move unused blocks back to the block category shelf.

Last edited by PaperMarioFan2022 (Nov. 7, 2023 18:32:08)

PaperMarioFan2022
Scratcher
1000+ posts

delete all blocks/reporters that are not connected to a hat block

floppasyay wrote:

DogeBirdGoMeow wrote:

when [i am scratcher v] key pressed
if <i help people = true> then
broadcast [you should get (removed) it does that v]
end

Please don't mention extensions (but you can say Pen or micro:bit, etc).
According to the sentence, (removed) doesn't mention third-party extensions/ user scripts as the policy describes, so this is okay.
gdfsgdfsgdfg
Scratcher
1000+ posts

delete all blocks/reporters that are not connected to a hat block

PaperMarioFan2022 wrote:

According to the sentence, (removed) doesn't mention third-party extensions/ user scripts as the policy describes, so this is okay.
they censored it

KingRat_1 wrote:

Support
where reason

Last edited by gdfsgdfsgdfg (Nov. 7, 2023 19:33:50)

Powered by DjangoBB