android studio - Is their a "region-like" folding feature for xml editors -


i'm developing on android studio , others ide, android studio has feature create "regions" in java code can folded. (see below)

with kind of code

//region initialization private int myvaribale; private string othervariblae; //endregion 

we can fold/unfold code (see screenshots below).

unfolded code

folded code

is similar xml editors (specially 1 in android studio) ?

something can add example :

<!-- region layouts --> <relativelayout>     //some layouts  </relativelayout> <!-- endregion --> 

android studio's xml editor supports folding on ide level cmd+alt+"+" or "-".


Comments

Popular posts from this blog

How to use SUM() in MySQL for calculated values -

ios - IBOutlet for image button not correctly referencing button after recreating outlet -

java - AEM: 403 Forbidden occurs when call a Post servlet -