Code editor bug

The code editor is helpful enough to know that it can collapse (hide) code blocks, e.g. a Python class or if block. It indicates this by displaying a little arrow in the column that shows the line numbers.

If I click on the arrow to collapse a region of code, when I then save the file, the editor automatically expands all of the collapsed regions. This is quite annoying especially when working on a small screen. Is this a known bug or issue?

That is a known issue. I have upvoted the ticket for you.

Thanks, is there a list somewhere of all the bugs and issues that we can look through?

No, we don't make that public.

another upvote for the bug please

Sure, I've added the upvote.