Rearrange method order to match header file?

Is there a way to tell app code to rearrange the order of methods in the implementation file based on the header?

For instance, if i move a bunch of methods and properties around in the header, i'd like to hit a command key and have the order of their implementations moved around as well.

I see a "Rearrange Code" item in the Code menu, but it seems to be always greyed out for me.

1
3 comments

Hi David.

It hasn't been implemented yet: https://youtrack.jetbrains.com/issue/CPP-5788. Feel free to comment or upvote.

0
Avatar
Permanently deleted user

I added a comment to that issue, however it is marked for CLion.  It show a "CPP" tage but does not have the Objective-C tag on it.  I'm not sure how to add these, or if I can.

0

Hi David.

It's a common task for CLion and AppCode. Thanks for the comment!

0

Please sign in to leave a comment.