+21

Python code folding of multi-line function signatures

Cameron Sparr 11 aastat tagasi 0

In python, I commonly write functions with signatures that span multiple lines, and code-folding of these functions doesn't work properly.


This an unfolded function:

Image 211


And this is what happens when you try to fold the function (it just folds up the signature)

Image 212