Under review

Code Folding

Alexander Blach (Developer) 13 years ago updated by jrd398 6 years ago 18 5 duplicates
See http://en.wikipedia.org/wiki/Code_folding

Allow the user to selectively hide and display sections of a currently-edited file.
Duplicates 5
That would be really great because of the ipads screen size!
this would be extremely helpful when editing XML files
I edit large yaml files that it would be very helpful to be ale to fold. Thank you for a great app.
That's really important feature for every code editor and it will be just great if you implement it.
That would be great when editing JavaScript too if you could have minus symbols next to the line number when braces are found so that you could click the minus to fold the code between matching braces and then if needed click a plus button to re show the code. Doing it based on the current language's idea of a code unit/group (such as braces in C or JavaScript) would allow you to fold loops, if statements, switch statements or even complete functions which would be great.
+1 here too... jQuery Mobile sites work best when all "pages" are incorporated into a single file (core page transition animations etc). when on the desktop I use code folding to fold the sections(pages) I am not working on.. And just view the current page. 
Much agreed on this, especially due to the size of mobile screens. Textastic has always come up with innovative solutions— specifically thinking of the swipe-to-symbol keyboard row, so something along those lines would be fantastic.
I would really like this feature as well.
It's a pretty basic feature for most code editors - though with that said, most editors have a terrible 'folder' in that it does not fold certain functions accurately.
I am working in Lua (Corona SDK) and it would be very beneficial to have the option to fold my functions and conditional statements.

Please update Textastic to include this feature. 
If you add folding, I'd like to suggest having an automatic mode to fold All, or all those outside of the current view.
can you add this feature to mac version too. please

Visual studio does this an I really miss it
Some love scrolling, some others don't :) that would be a great feature (one more, yes!)
Looks like this feature request has been out there a LONG time. And best I can tell it isn't available yet. Is there a plan for it in the near future? At least, by mortal human measure.
Ideally, the folding rules could be read in from tmbundles to work with any language.
please add code collapsing feature, it will greatly help to deal with code with many lines

Like that, may be show an option «Show folding panel» (like «Show line numbers»)

Image 160


Love the app, but this is a big pain point for me. Is there any update on this request?