Files keep opening in new window instead of tabs - textmate

I've been looking around on Google and here but I can't seem to figure out how to prevent textmate to open files in new windows instead of opening in new tabs.
This is a feature I'm positive is possible because I've seen it in railscasts videos before :/

According to the helpfile:
In the current version of TextMate (1.5) file tabs are only supported when a project is created. Fortunately it is easy to create a project, namely by selecting File → New Project (⌃⌘N).
IOW, you have to create a new Project and then you can create tab-based files inside that by using Shift-⌘N

Related

Prevent Xcode from opening new files

Is there any way to prevent Xcode from opening brand new files? Let me explain. Everytime I create a new file (Xib, .swift, .storyboard, etc...) Xcode opens that new file automatically in the standard editor. This functionality kinda annoys me because something I just want to create the file and maybe open it on the assistance editor instead or just to work on the file later. I tried changing some of the Xcode's behavior but I don't see any ways where I can trigger an action when certain events occur (like creating a new file).
Well here's one way:
Create a folder full of empty files of various types (with various extensions) that you typically create. Then whenenver you want a new file, rather than telling Xcode to create a new file, use the "Add Files to ..." command and choose one of those files. Just remember to also check the checkbox "Copy items if needed".
Doing this won't open the added file.
As an added benefit, you could also make some versions of these files pre-seeded with code or comments or whatever else that you often keep re-typing into many of your new files.

Open two windows with two iOS projects

How can I open two windows with two different projects in Xcode?
Having two windows open must ease to drag and drop files from one project to the other.
Use File/Open (⌘O) to open a project in another window.
Firstly, be sure to un-maximize the window by hovering on top left and touching the green button (if presently maximized). If you use Command+T then afterwards you can drag that tab into the desktop space to make a new window. Then you can open your other project. Then be sure to unmaximize it as well. Then you can use Fn+drag to copy files and storyboard from one prpject to the other. Go figure.
I am using xcode 9.2 and it has default like you said i.e. when we open a new project it will attach itself with the current window.
OR you can try (Command+T) to open a new tab then open project manually.

Xcode: Tabbed workflow

In Xcode I use a task-based tabbed workflow (a separate tab for editing, UI/Modeling, building, debugging, etc.). I accomplish this using Behaviors (see the Custom section in the attached screen shot). When I create a new Project I use press ⌘+1, ⌘+2, etc. to quickly setup all of my task tabs.
My issue is that when I do this for a newly created Project all of the tabs display the source, storyboards, etc. from my most recently open Project. How often do you think this is useful or the desired behavior? I realize that one of the great things about tabs is that they remember their state and this is helpful. But as far as the source files that are initially displayed, this is a real pain. I do not want to see files from other (generally unrelated) projects.
Now what I just did as an experiment was open Project A and setup all of my tabs and ensured that each tab contained a source file from Project A. Then I quit Xcode and moved Project A a new location on the file system. When I opened Project B and created all of my tabs they were, as desired, empty.
I realize that I'm just going to receive the canonical "File a Radar" here but in the off chance that there is a workaround (NOT moving files) or a preference I could set, I figured I'd at least ask.
Thanks in advance,
CS

Textmate - search data in directory

Can i search data in directory? It's too painful to search on whole project (on my Mac it takes something like 5-15 minutes which is awful). Version of textmate is 1.5.10 (1631).
Currently, TextMate does not support searching in a specific folder. This is soon to change though, with the current alpha release of version 2.0 adding in this support.
So, to search within a specific folder inside TextMate 1.5, you have 2 options:
Create a new project for the folder you want to search in (you can do this quickly by dragging and dropping the desired folder on to the new project button)
Create your own 'Find in Folder' command, by going to Bundles > Bundle Editor > Show Bundle Editor (⌃⌥⌘B). From here, you can click on the '+' button at the bottom and create a new command. See here for an example of how to create a find in folder command.

TextMate: using tmctags bundle, opens in new window!!! how do i open it as a tab?

I have this issue with textmate where it opens up a file in a new window, but not a tab. thereby its harder to navigate and also disables me from using tcmtags on that new file. Has anyone ever ran into this issue? I suspected it was some type of setting that got messed up, but opening any other file traditionally with the point and click will open in a new tab. So why does it screw up using tcmtags?
Thanks!
Tony
I just had this problem with the Latex bundle in a newly created project. The Latex bundle had a macro that was using the 'open' command.
Quitting and reopening TextMate solved it for me. Files now open in a new tab rather than new window.
Only Projects have tabs in Textmate afaik. So create a new project e.g. by dropping a folder on the TextMate Icon in dock. The files in this folder will open in tabs.
The issue is that my files are in a project. It's the bundle that has the issue. Jumping to a definition source in a different file opens the file in a new window as opposed to a new tab. All the files are in the same project.
No one else I know has this issue.

Resources