Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

mcbi4kh2

macrumors newbie
Original poster
May 8, 2010
4
0
In the Pane on the left of Xcode I have the list of my Groups & Files with the currently open project.

How do I add another project to this list? Currently when I go to File -> Open Project and choose a different project it is opened in a new window (or whatever windows are called on macs :) )

I can split it vertically by clicking the little square box but that just shows me the same project, below.

Also, how do I stop things opening in a new window when I double click them? I have "open counterparts in same editor" checked.
 
I've never seen a way (or wanted) to mix projects in one window. I honestly don't think there is a way to open multiple projects into the same window.
 
I find that very surprising, and most inconvenient. Especially with only one screen.

I use Eclipse mostly, and what I want is something like this.

Like he has Agenda, ExpC and KeyTopic projects all in the same pane.

There really is no way to do that?

What about stopping it from opening a new window on double click?
 
Do you mean project or target? Having more than one project open at one time seems rather pointless. Surely you don't work on more than one application at the same time?

If what you really mean is a target then it is easy, and by target I mean for instance your application and say a library that it depends upon. You just right click on your current project and click "Add New Target". This creates a new subproject with all its own source files which can be built independently of the main project or together in one big build cycle. You can obviously also open it entirely independently of the main project and pass that around to others if you only want them working on that small subsection.
 
Yes I mean work on more than one application at once. This is something I do quite a lot, I'm surprised no one else seems to. Oh well, thanks for the answers.
 
I use Eclipse mostly, and what I want is something like this.
So why not use Eclipse?

The command-line tool to build Xcode projects is named 'xcodebuild'. It has a man page.

Or you can create a makefile and tell Eclipse to use that. Xcode is perfectly able to build projects using makefiles. It's the "External Build System" project template. The default Target is created with /usr/bin/make as the build tool.
 
Didn't know that it was possible to do that. Interesting.

I think I will stick with Xcode though, so far this has been my only gripe.
 
I agree with mcbi4kh2...

This is a major feature that XCode is missing. So many other IDEs (VS, Eclipse, Codeblocks, etc.) let you handle multiple development projects. I mean how nice is to to modify your shared lib source code and your app using that lib through the same window. Makes you really wonder if the programmers at Apple actually use XCode for development...:(

One other thing... why can't we have a tab layout for the open source files ?
 
I agree with mcbi4kh2...

This is a major feature that XCode is missing. So many other IDEs (VS, Eclipse, Codeblocks, etc.) let you handle multiple development projects. I mean how nice is to to modify your shared lib source code and your app using that lib through the same window. Makes you really wonder if the programmers at Apple actually use XCode for development...:(

One other thing... why can't we have a tab layout for the open source files ?

You can always use the Xcode Organiser if you want.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.