Trivial question about *** in code

In one of the guides for Classes (School Catalog in this instance), the programmer hides the class code as three dots within two curly brackets. How is this done and what is happening exactly?

Thanks!

He merely collapsed the code lines into “one”. Try it yourself when you made a function and then press on the small triangle next to the line number :wink: .

triangleCode

collapsed

Pressing the triangle again will decollaps the code.

This feature is only there to aid in reading code.

1 Like

Thanks. :laughing:

Not sure if he moused over it in the video, so I didn’t notice. Is there a hotkey?

1 Like

No idea, might be :stuck_out_tongue:

1 Like

This topic was automatically closed 60 minutes after the last reply. New replies are no longer allowed.