Developing error using // area in Android Studio

After creating a region in Android Studio, located under the end tag of another region, the code is folded up to the end of the tag of the previous region instead of folding down through hundreds of lines of code into my // endregion tag for the new region.

I looked at the settings in Android Studio for Cold Folding. But nothing seems to help.

What am I missing? Folding is useless if it cannot stack hundreds or thousands of lines.

Example of folding problem

+5
source share
3 answers

Update as of September 13, 2015: I believe this problem has been fixed. I can successfully do //region in all my files Here is the real answer

+4
source

This seems like a bug in the Android Studio IDE. Various options are described here.

There is a defect specified for code.google.com , which is marked as “closed” for Android Studio 2.2.

+1
source

My answer: Instead of folding with the arrows on the left, I just used "ctrl" + "-" Or use "ctrl" + "shift" + "-" to add everything.

0
source

Source: https://habr.com/ru/post/1211884/


All Articles