Code folding in code editor

This feature request suggests that the code editor should allow code (initially Lua, but potentially HTML/CSS/JS widgets as well) to be folded. This means that you could click on +/- symbols on the left side of the code, to “fold” blocks of code - for example, fold functions, or block comments, or everything within an if statement. This would allow longer script files to be more useable as the functions you’re not currently editing can be folded away, just leaving the function declaration line.

Votes on original board: 10