Welcome!
This is the community forum for my apps Pythonista and Editorial.
For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.
Does the 1.6 editor support and form of code/comment folding?
-
Just interested if any code or comment folding is supported in the 1.6 code editor. I heard about the multiple open code tabs, which sounds fantastic.
On such a small screen, I would absolutely love to be able to collapse /expand all my comments, globally in a file.
Code collapsing would be also nice, but I think hiding the comments more important.
Whilst sometimes verbose comments are needed, I hate seeing all the comments in my code. It's so distracting. Granted, the object/method browser menu really helps.
I think would be a huge leap.I am sure something could be written inside Pythonista to rip the comments out and reinsert them ( approximately in the right place :) ). But I am sure that would not be for the faint hearted. Could go wrong on so many levels :)
-
+1 hiding/showing comments
-
oooooh! You know what would be awesome Omz? If there was a special minimalist mode for visualizing your code - imagine if you could zoom out of levels of indent ... lines of code would squish together vertically to optimize the amount of relevant code on screen at any point in time. The most-indented blocks would "fold away" first. And the control to move between "zoom levels" could just be a slider at the top along an x axis graphically lined up along their y axes to the code text's indentation levels.
I'm totally not trying to pressure you into doing it or anything. Probably really difficult to implement? But how awesome would that be!
-
That'd be really awesome! I'd love to see that!
-
code folding would be a good feature.