1
Vote

Comments at end of functions not being folded

description

From https://pytools.codeplex.com/discussions/541843

This is a very minor issue, but something I've encountered quite frequently as I use code folding/outlining a lot. When comments are placed at the end of a function (but still within the indented block), they aren't folded into the function when it's collapsed, so I end up with the occasional unwanted indented comment when I'm looking at the outline of my code.

I know this is relatively easy to solve on my end (just put "pass" after the comment or alter the style of my coding) but I just thought I'd point it out in case you weren't aware of it.

comments