GLBasic forum

Feature request => IDE/Syntax => Topic started by: Havard on 2009-Aug-06

Title: Folding of Functions in the IDE
Post by: Havard on 2009-Aug-06
Can you or would it be possible to make it so you can fold functions in the IDE - just giving the title of the funciton.  ONce you have a working function it could then be compressed - this makes your code much easier to read.  Have used this before in another basic IDe and it was really helpful as I find following code can be really hard as it grows.
Title: Re: Folding of Functions in the IDE
Post by: Havard on 2009-Aug-07
Are you saying what I think you are saying about my coding... :whistle:
Title: Re: Folding of Functions in the IDE
Post by: Havard on 2009-Aug-07
You're not the only one to point this out to me..

http://www.glbasic.com/forum/index.php?topic=3267.0 (http://www.glbasic.com/forum/index.php?topic=3267.0)

I muddle through...
Title: Re: Folding of Functions in the IDE
Post by: PeeJay on 2009-Aug-08
I'm another one who is a huge fan of code folding, but I have a workaround that I use (which may be helpful?)

During dev, I have 2 source files in the project - one for "working", and one that I dump completed functions into - that means that once I have a function done and working properly, I can move it out of the way, so I don't end up scrolling around hugs chunks of code ....
Title: Re: Folding of Functions in the IDE
Post by: Moru on 2009-Aug-08
Oh, nice tip PeeJay, never thought of that. Code-folding I had in GFAbasic but never realy like it since it still takes up space. And it made the editor crash now and then too :-)