Folding of Functions in the IDE

Previous topic - Next topic

Havard

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.

Havard

Are you saying what I think you are saying about my coding... :whistle:

Havard

You're not the only one to point this out to me..

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

I muddle through...

PeeJay

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 ....
www.peejays-remakes.co.uk
For games, remakes, and GL Basic Tutorials
Artificial Intelligence is no match for Natural Stupidity

Moru

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 :-)