AppCode <editor-fold > Collapse block < /editor-fold>

Hello.

<editor-fold > Collapse block < /editor-fold>

Why its not working  on App Code ?
Or how its may be implemented ?

4 comments
Comment actions Permalink

Hi Konstantin,

I'm not sure what you are trying to do...  are you just trying to collapse / fold a block of code in the editor?  In that case, CMD+"-" should do that for whatever scope the cursor is in.  But I don't recognize the the XML you posted... are you writing a plugin, an IDE macro, or a doing a menu / UI customization?

Daniel

0
Comment actions Permalink

Hi.
im want to use customzie folding, like in Netbeans or Visual Studio.

In Visual Studio, in c# i use

#region
#endregion

to collapse big parts of code.

In NetBeans its:

// <editor-fold defaultstate="collapsed" desc="user-description">
  ...any code...
// </editor-fold>
0
Comment actions Permalink

Ahh!  I see.

Unfortunately, even though this exists in other JetBrains IDEs like IntelliJ and WebStorm, it doesn't appear to be implemented in AppCode currently.  There is already a ticket for it, which you can vote on here:

http://youtrack.jetbrains.com/issue/OC-4807

Sorry there isn't a better answer for you at this time!

0
Comment actions Permalink

Sadly seems like this still has not made its way through. Such a shame as this is a much loved feature on Android Studio.

0

Please sign in to leave a comment.