Navigate -> Custom Region...

In AppCode 2.5.4 I have noticed there is this menu option Navigate -> Custom Region... Every time I try to use it AppCode pops up a dialog stating "There are no custom flding regions in the current file."  How do I define a custom folding region?

2 comments

Steve, thanks for reporting, this looks like an oversight - Objective-C currently doesn't support custom regions, though other languages may; so this action should be diabled in OC files.

0

This option is still present in AppCode 2016.2 and of course does nothing. Although Obj-C doesn't support it, you could surely support what Android Studio does:

 

//region This is a region

//endregion

 

0

Please sign in to leave a comment.