26
Vote

c# like #region code folding

description

It would be very helpful if there's c# like #region code folding.
Python comments are started with # symbol, so there would be
no problem with other python editors if #region/#endregion is used.

comments

dinov wrote Nov 4, 2011 at 12:47 AM

Good idea for a feature, if other editors support this we should recognize whatever they do.

kramed wrote May 24, 2012 at 2:37 PM

This would be great. Code folding of for loops, if statements and the other usual suspects would also be fantastic.

Great work, love this extension!

ralmoritz wrote Aug 25 at 6:07 PM

+1. I would love to see this feature in PyTools

bmcalpine wrote Aug 28 at 11:18 AM

Folding (outlining) loops, if, and etc... inside a functions and classes. You cannot fold anything inside a function, only the function itself can be collapsed.