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.


Click This Link For Some Secrets About Me!
A few internet communication companies want to corrupt the internet by getting rid of net neutrality. Stop Them!
Wahsp
Scratcher
1000+ posts

Make C Blocks Collapsible

I like this idea a lot! Support

color=664e3a]
/////
|||||color=c66b1b]
| {}{}{}{}{}{}{}color=7c6a2c] Wahsp color=c66b1b]{}{}{}{}{}{}{} |
| {}{}{}{}{}{}color=7c6a2c] Forum Helper color=c66b1b]{}{}{}{}{}{}{} |
| {}{}{}{}{}{}{} color=7c6a2c] 5,000+ posts! color=c66b1b]{}{}{}{}{}{}{} |
| {}{}{}{}{}{}{} color=7c6a2c]Past FPC color=c66b1b]{}{}{}{}{}{}{} |color=195b16]
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\\/\/\/\/\/\/\

| {}{}{}{}{}{}{}{}{}{}{} Wahsp {}{}{}{}{}{}{}{}{}{}{} |
| {}{}{}{}{}{}{}{}{} Forum Helper {}{}{}{}{}{}{}{}{}{} |
| {}{}{}{}{}{}{}{}{}{} 4,700+ posts {}{}{}{}{}{}{}{}{}{} |
| {}{}{}{}{}{}{}{}{}{}{} Past FPC {}{}{}{}{}{}{}{}{}{}{} |
-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 to Scratch
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

Duplicate of this


Wao how is that possible





Uh Squidward? Yes Spongebob? You might want to look at this… HOLY SHRIMP! If we don't act now, well, think about how many clams I'll have to cough up JUST to see an extra portion of nick.com… or worse, to see ALL of it in general! *** Reader! This is not a fictional sketch! It actually is, but that's not the point. Learn more at the link that Spongebob left at the first instance of “this”.
-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
500+ 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


Click This Link For Some Secrets About Me!
A few internet communication companies want to corrupt the internet by getting rid of net neutrality. Stop Them!
-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

ɴᴏᴡ ᴘʟᴀʏɪɴɢ: Despacito 2 (Feat: Lil Pump) ───────────⚪────── ◄◄⠀▐▐ ⠀►►⠀⠀ ⠀
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.

I hope my post helped you in some way! Post count: 400+

Current project: [s3Blocks: scratchblocks rewritten for Scratch 3.0] ::extension //https://scratch.mit.edu/discuss/topic/290031/
This is my signature identifier “aWFtbml0cm9jaXBoZXI=”
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?


Click This Link For Some Secrets About Me!
A few internet communication companies want to corrupt the internet by getting rid of net neutrality. Stop 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

- Sheep_maker This is a kumquat-free signature. :P
Please don't feel the obligation to post on every single topic you see; eventually you will resort to spam.
Another suggestion has been implemented!
.postsignature { overflow: auto; } .scratchblocks { overflow-x: auto; overflow-y: hidden; }

Powered by DjangoBB

Standard | Mobile