Pages: 1
  Print  
Author Topic: Collapsible Script  (Read 5789 times)
Offline (Unknown gender) AsherOS
Posted on: August 13, 2013, 06:14:10 pm
Member
Joined: Jul 2013
Posts: 19

View Profile
One thing that is not found in enough IDEs is collapsible text/script, yet it is hands down the greatest tool to simplify and organize complicated code. For someone like me, who is a beginner at programming, it would help me understand code much faster and I know that pros would love this because of how clean it would make the working environment.



Cheers,
Asher
Logged
Offline (Male) Goombert
Reply #1 Posted on: August 13, 2013, 06:45:06 pm

Developer
Location: Cappuccino, CA
Joined: Jan 2013
Posts: 2993

View Profile
Haha, yes Asher, I myself would like the feature as well, I am too busy with making the basics work for now though like adding GMX support. But yes we need some more advanced stuff like that in the script editor.
Logged
I think it was Leonardo da Vinci who once said something along the lines of "If you build the robots, they will make games." or something to that effect.

Offline (Unknown gender) AsherOS
Reply #2 Posted on: August 13, 2013, 07:11:51 pm
Member
Joined: Jul 2013
Posts: 19

View Profile
lol, no worries, just throwing it out there   :D
Logged
Offline (Male) DaSpirit
Reply #3 Posted on: August 13, 2013, 09:12:19 pm

Member
Location: New York City
Joined: Mar 2013
Posts: 124

View Profile
Scintilla based editors have the following for C++/C lexers:
Code: [Select]
//{ This is a region!
if (blah blah...)
//}

If this feature does get added, I think this is the best way to add it to GML (or EDL) without losing compatibility.
Logged
Offline (Unknown gender) TheExDeus
Reply #4 Posted on: August 14, 2013, 01:43:20 am

Developer
Joined: Apr 2008
Posts: 1860

View Profile
I don't know about some #region or //{, but I think regular block folding would be good. Like all {} could be folded. Usually only functions are foldable (like in C::B for example), but ENIGMA doesn't have functions per se.
Logged
Pages: 1
  Print