Replit Computer App Bug w/Closing functions/while/if loops

Bug description:
Closing just one of the functions/while/if loops, closes the rest of the code.

Expected vs Current Behavior:
Close just one function/while/if loops vs Closes the function/while/if loops and the rest of the code.

Steps to reproduce (from my experience):
From the last function/while/if loop from a nest, close it, and closes the rest of the code, seems like it is because of the autocomplete, since when double returning after it, it shows 4 dots instead of none.

Bug appears at this link:

Screenshot(s)/Screen Recording:
I have the screen recording but doesn’t let me add it on

Browser/OS/Device: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.0 Safari/605.1.15

Replit Profile:

Solution till it’s fixed:
Hit return twice, delete the extra spacing on the second returned line, and you are back to normal.

1 Like

Hey @ez130!

I am so sorry for the delay on this. Would you be able to use to share the screen recording so we can have more context on the issue?

another recent topic about the same issue has some more info:

This issue is probably specific to python because of its use of indentation.