How to code fold without hiding the method's docstrings?

Hi! I am a python and pycharm newbie. I am writing tests for a project where each file just ends up accumulating a lot of tests and so I need to fold code but also be able to see the docstrings. Can I modify some setting in Pycharm to achieve this? I googled and found but am not sure if doing that will get me what I require from pycharm.
1 comment
Comment actions Permalink

I think that's the best solution. Minimal impact on your code and supported in future versions.


Please sign in to leave a comment.