If Statement Code Folding?

Hello, there! I just was turned to PyCharm by some other Python users, and I really, really like it so far! The code completion works excellently, and the IDE itself, while "seizing up" a bit to scan the source directories when added, seems pretty smooth. I also love the ability to fold custom blocks of code - really useful!

I was wondering if it were possible to have Code Folding active on if statements, or on newly tabbed areas (i.e. even on variable assignments if they span multiple lines and are tabbed)?

Thanks!
2 comments
Please check "Editor -> Code Folding" settings: http://www.jetbrains.com/pycharm/webhelp/configuring-autofolding-behavior.html

Only these elements could be autofolded.
0

Please sign in to leave a comment.