Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

In Xcode, is there a way to sort the dropdown list for methods

Tags:

xcode

In Xcode, there is a preferences option to sort the Editor Function pop-up alphabetically which is great. However, this does not take into consideration the #pragma mark headings which also appear in this list. It would be great to have this list sorted alphabetically first by #pragma heading, then by method. Is this possible? Perhaps with a script?

like image 559
Don Avatar asked Nov 18 '10 18:11

Don


1 Answers

I can help you a little bit:

Just hold Cmd while you click on the methods-list-item in Jump Bar. Now they are all sorted alphabetically.

Only Pragma marks are grouped together at the end of the list. That's ugly. The rest is fine.

If you want to go further you're able to click on the list-item and then start typing any search for a method name and you instantly get the search results for the appropriate methods.

Enjoy.

like image 173
Fab1n Avatar answered Sep 21 '22 02:09

Fab1n