enure » post

(Quickly) Creating a Textmate Project From a Very Large Source Tree

Textmate can take a long time, in my case about 15 minutes, to load very large source trees. In the meantime the app is not accessible.

In my case I only need to work with a small subset of the source code, but the code is across several branches of the tree.

In order to keep all of the code I want to work on in one project, I have to use the “Folder Information” feature, which allows you to ignore specified folders. To access this usually you create a project and then select the root folder and then click the (i) button at the bottom of the navigation drawer.

However, in order to actually get to this point you have to open the entire source tree as a project in Textmate, which is a bummer.

To workaround, create a dummy project from an empty folder, or duplicate an existing .tmproj file. Now open the dummy.tmproj file in Textwrangler or some other editor and edit as needed. It is just XML. You can delete most everything excepting the key documents.

* * *

search

Or, see a list of articles