Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do you sort the source tree in project navigator in Xcode 4?

Tags:

xcode4

In Xcode 3, it was relatively easy to sort the source tree by name (see answer here for more details). However, I can't figure out how to sort the files and groups in Xcode 4 without manually dragging them around.

like image 685
curthipster Avatar asked Mar 27 '11 23:03

curthipster


People also ask

Where is the project navigation pane in Xcode?

At the left and right of the project window, as you surely know, are the Navigator pane and the Inspectors pane, respectively.

What is the A Xcode project navigator?

The Project navigator displays your project's files and lets you open, add, delete, and rearrange those files. To open the Project navigator, at the top of your project window's navigator area, click the icon that resembles a file folder.

How do I search for files in Xcode?

In xcode on left pane in the project navigator at the bottom there is a search field. In the documentation it is called filter bar. According to Inder Kumar Rathore the shortcut is ⌘ + ⇧ + O .


1 Answers

As of Xcode 4.3.1 - Select a Folder/Group in the project navigator area. Then go to Edit->Sort and you can choose "by name" or "by type."

like image 52
macandyp Avatar answered Nov 10 '22 05:11

macandyp