Discuss Scratch

-Osiris-
Scratcher
100+ posts

Make C Blocks Collapsible

It would be easier to organize code if you could collapse C blocks such as the if block, forever loop, etc.
This would be useful because you could collapse code that you don't need to see at the moment, meaning the code you do need would be more accessible.

if<>then ▼ :: control //You would put comments on this part to remind yourself of what everything does.

if <> then ▲{
...::grey
}:: control
What would happen with the If/Else block?
if <> then ▲▲ {

...::grey

}else ▲{
...::grey
}::control

Charles12310 wrote:

if <> then ... else ... ▼▼ :: control

if <> then ▼▲ {
...
} else ▼ :: control

if <> then ▼▲ :: control
else ▲ {
...
} :: control

Last edited by -Osiris- (Dec. 15, 2017 23:59:29)

Charles12310
Scratcher
1000+ posts

Make C Blocks Collapsible

Support because this would leave more space for more scripts and it would mean less scrolling, which means this is necessary for organization.

Imagine having a lot of if then else blocks, it takes up too much space and I would rather not see all of that. I definitely see a good use for this block.
Wahsp
Scratcher
1000+ posts

Make C Blocks Collapsible

I like this idea a lot! Support
-ShadowOfTheFuture-
Scratcher
1000+ posts

Make C Blocks Collapsible

Support! This would be useful to organize my code better.
-Osiris-
Scratcher
100+ posts

Make C Blocks Collapsible

bump
SpaceDragon1
New Scratcher
100+ posts

Make C Blocks Collapsible

Mega support, if you are not working on that section of code, then you don’t really need to see it. Collapsing it would save space and make it easier to see other sections of the code that you may need to see at the same time.
Lukas_Gaming
Scratcher
35 posts

Make C Blocks Collapsible

Huge support. it could be useful for making things easier
1a3c5e7g9i
Scratcher
100+ posts

Make C Blocks Collapsible

-ShadowOfTheFuture-
Scratcher
1000+ posts

Make C Blocks Collapsible

1a3c5e7g9i wrote:

Duplicate of this
It's not exactly a duplicate. That topic is about collapsible sections of code, which would be a new c-shaped block that is collapsible. This topic is about making all c-blocks collapsible.
Fupicat
Scratcher
1000+ posts

Make C Blocks Collapsible

SUPROTT

I absolutely love this idea.
Charles12310
Scratcher
1000+ posts

Make C Blocks Collapsible

1a3c5e7g9i wrote:

Duplicate of this
It would be stressful to put this every time we want to put a c-block that we can shorten:

um no title at all, lol... {
if <> then
...
end
} :: grey
-Osiris-
Scratcher
100+ posts

Make C Blocks Collapsible

bump
-Osiris-
Scratcher
100+ posts

Make C Blocks Collapsible

bump
Zekrom01
Scratcher
1000+ posts

Make C Blocks Collapsible

+1
Dilek10
Scratcher
100+ posts

Make C Blocks Collapsible

This is a good idea. I'm supporting!
-Osiris-
Scratcher
100+ posts

Make C Blocks Collapsible

BUMP!
-Osiris-
Scratcher
100+ posts

Make C Blocks Collapsible

BUMP!
NitroCipher
Scratcher
500+ posts

Make C Blocks Collapsible

ATM they are not individually collapsible, but in Scratch 3.0 you can right click on the stage and select collapse. This will collapse all active c blocks into bars.
Charles12310
Scratcher
1000+ posts

Make C Blocks Collapsible

NitroCipher wrote:

ATM they are not individually collapsible, but in Scratch 3.0 you can right click on the stage and select collapse. This will collapse all active c blocks into bars.
What if you wanted to collapse specific c blocks and not all of them?
Sheep_maker
Scratcher
1000+ posts

Make C Blocks Collapsible

NitroCipher wrote:

ATM they are not individually collapsible, but in Scratch 3.0 you can right click on the stage and select collapse. This will collapse all active c blocks into bars.
That's a leftover feature from Blockly and they might temporarily remove it until they have a better way of representing it

Powered by DjangoBB