Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Code Folding

I wish the codea editor on iPad can support code folding.

For a long program(1000+ lines), it is very useful, thanks.



  • Posts: 688


  • edited May 2015 Posts: 91

    code folding = hiding code(I had to google it)

    in codea enlightenment, i am(someday) going to do it by dragging lines in the left 1/4th of the source text view to hide as a narrow green line, tap on green line to unhide.

    another way is to collapse multiline statements by tapping on starting keyword.

    the C# #Region could be changed to --[[H comment]]...text to hide...--[[endH]].

    or select to only show first line of functions somehow.

    the concept is to provide overviews and ways to drill down to the details you need to see.

Sign In or Register to comment.