(Python) Can't fold just a Elif


#1

Recently I noticed I’m unable to fold just an elif statement. For example in the following code it won’t allow me to fold the elif part and the option to fold the if statement includes folding the elif part. I looked in the setting but didn’t find anything about folding.

if x == 0:
print(“Wrong”)
elif x == 1:
print(“Correct”)


#2

I have the same experience. I can’t tell if it’s a bug or just a design change, though.


#3

I got the language-python from github and used that it it’s fixed my issue. I think it’s meant to be a design change but I would’ve hoped they would leave an option to change it back.