Is it possible to organize a folding by commenting in android studio a la outline / outshine-mode in emacs?

In other words, such code

class SomeClass { // * group of related methods 1 void method1() { ... } void method2() { ... } void method3() { ... } void method4() { ... } // * group of related methods 2 void method1() { ... } void method2() { ... } void method3() { ... } void method4() { ... } // * group of related methods 3 void method1() { ... } void method2() { ... } void method3() { ... } void method4() { ... } } 

collapse as follows

 class SomeClass { // * group of related methods 1 ... (типо свернули) // * group of related methods 2 void method1() { ... } void method2() { ... } void method3() { ... } void method4() { ... } // * group of related methods 3 ... (типо свернули) 

    1 answer 1

    Add the necessary code to the tags:

     //<editor-fold desc="regionName"> code here... //</editor-fold> 

    Arrows appear on the left and you can minimize / expand this region.