Folding error using //region in Android Studio

fernforce picture fernforce · Jan 25, 2015 · Viewed 7.5k times · Source

After creating a region in Android Studio, located under the end tag of another region, the code folds upward to the end tag of the previous region instead of folding downward through hundreds of lines of code to my //endregion tag for the new region.

I looked at the settings in Android Studio for Cold Folding. But it seems nothing there helps.

What am I missing? Folding is useless if it can't fold hundreds or thousands of lines.

Example of folding problem

Answer

Eshwar Prasad Yaddanapudi picture Eshwar Prasad Yaddanapudi · Sep 13, 2015

Update as on 13-Sep-2015: I believe that this issue is fixed now. I am successfully able to do //region in all my files Here is the actual answer