SimpylFold icon indicating copy to clipboard operation
SimpylFold copied to clipboard

Fold decorators in with the code they affect

Open kylemacfarlane opened this issue 7 years ago • 8 comments

With the following block:

@property
def test(self):
    pass

This plugin folds it like:

@property
+---  2 lines def test(self):---------------

But python-mode folds it like:

def test(self): ------------------------- 3-

Would it be possible to fold in the decorators like python-mode?

kylemacfarlane avatar Mar 05 '17 12:03 kylemacfarlane