I fold (collapse) some method in Android project in IntelliJ IDEA either via plus sign or via “right click->Folding->Collapse”. I close IntelliJ. After I reopen the IDE, the methods are unfolded (expanded) again.
Is there a way to solve this? It this IDE’s bug or I can fix this in IDE’s properties?
Folding of individual methods is not saved. The folding settings can be found here: File –> Settings –> Editor –> Code Folding