Fold Python Doc Strings


#1

Does anyone know if there is anything out there similar to Sublime’s “Fold Python Docstring”?
https://packagecontrol.io/packages/Fold%20Python%20Docstrings


#2

this https://atom.io/packages/custom-folds
could … almost answer your need
by setting “”" as custom marker BUT it only seems to work with comment markers…
could ask the author a setting to enable non comment markers
but could imply a syntax-link to markers … lots of improvement possible :sweat_smile:


#3

I need something similar…I like well documented code, but it gets in the way.

It looks like if I just added custom fold points, that would work:

By default, a comment starting with <editor-fold identifies the start of a foldable region and another comment starting with marks the end of that region.