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.


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

​I am Wahsp
______________________________________________________

Formerly pretty active on the forums, probably mostly retired now…
If you see one of my posts send me a hello!
______________________________________________________
-ShadowOfTheFuture-
Scratcher
1000+ posts

Make C Blocks Collapsible

Support! This would be useful to organize my code better.

<Insert uncreative signature here>









██       ██  ██            ██  ██       ██
██ ██ ██ ██ ██ ██
██ ██ ██ ██ ██ ██ ██
██ ██ ██ ██ ██ ██ ██
███ ███ ██ ████ ██ ███ ███
█████████ █████ █████ █████████

“Though the seasons come and go, and sunshine turns to snow, we will always have tomorrow up ahead.”
-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.

<Insert uncreative signature here>









██       ██  ██            ██  ██       ██
██ ██ ██ ██ ██ ██
██ ██ ██ ██ ██ ██ ██
██ ██ ██ ██ ██ ██ ██
███ ███ ██ ████ ██ ███ ███
█████████ █████ █████ █████████

“Though the seasons come and go, and sunshine turns to snow, we will always have tomorrow up ahead.”
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


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

20 something years old
Probably doing college work
Dilek10
Scratcher
100+ posts

Make C Blocks Collapsible

This is a good idea. I'm supporting!

Hello, I'm Esin, aka Dilek10!
I'm a boy who likes physics, computer science and programming languages, and World War II.
Do you like physics textbooks? Here's a forum topic for you!: https://scratch.mit.edu/discuss/topic/350422/
The Turkish Scratch Wiki! Contributors wanted!: http://test.scratch-wiki.info/wiki/Tur:Anasayfa
-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: 500+

Current project: [s3Blocks: scratchblocks rewritten for Scratch 3.0] ::#4b4a60 //https://scratch.mit.edu/discuss/topic/290031/ Basically done!
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?


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
This is my signature. It appears below all my posts. Discuss it on my profile, not the forums. Here's how to make your own.
.postsignature { overflow: auto; } .scratchblocks { overflow-x: auto; overflow-y: hidden; }

Powered by DjangoBB