![]() |
|
Collapsable regions? - Printable Version +- Team Spartan Cookies & Milk Forums (https://teamscm.co.uk) +-- Forum: Garry's Mod (https://teamscm.co.uk/forum-4.html) +--- Forum: Starfall (https://teamscm.co.uk/forum-7.html) +--- Thread: Collapsable regions? (/thread-3327.html) |
Collapsable regions? - frdhog - 15-06-2020 Is there a way to group and collapse regions of code rather than just functions, if statements and the likes? If not, I would like to suggest the following (or add it as an alternative to the existing) Code: --@@ OPTIONAL HEADER NAME
[THE JUICY CODE ITSELF]
@@--RE: Collapsable regions? - Person8880 - 16-06-2020 You can use blocks to accomplish this, e.g.
They also scope local variables which can be useful.
|