user1579339
user1579339

Reputation:

new tabs for different files

I need to use Xcode like a general purpose editor. For example I need to open file .txt, .project, etc etc… If I open one file at time all go well, but I need to put other files in new tabs.

I tried

cmd+t 

but the new tab has exactly the same text as the first tab… and if I open an other file with a double click, it open a new Windows and not a new tab… there is a solution?

thanks a lot!!

Upvotes: 1

Views: 2532

Answers (2)

zwcloud
zwcloud

Reputation: 4889

For XCode 10, right click on the file, select Open in New Tab.

enter image description here

I don't know when it was added.

Upvotes: 0

Jsdodgers
Jsdodgers

Reputation: 5302

Command+T will open up a new tab with the same file, then you can navigate to a new file and open that one up in either tab.

XCode will not be able to assume what file you want to open in the new tab and it doesn't want to open an empty tab, so it opens the current file in the new tab.

Upvotes: 2

Related Questions