From TextMate Wiki

Troubleshooting: Beachball

A few workarounds that might help you:

 1. [Filter unwanted files][] from the project. For example if this is a Rails project, you can exclude the `log`, `vendor` (maybe only `vendor/rails`), and `tmp` folders.
 2. Work with a “static project” instead of a folder reference. This effectively means drag just the source files you need to the project drawer (after creating a new project) rather than dragging folders. A [script exists to clone a folder][1] into such a static project, this gives the same structure as dragging the folder would, but will not update the folder structure — to use the script: save as `build_project.sh` and `chmod a+x build_project.sh` (in Terminal) and run it like this: `./build_project.sh «folder» > myproject.tmproj`
 3. Work locally instead of over the network.
 4. Try [ReMate](http://ciaranwal.sh/category/textmate) ([direct download link](http://ciaranwal.sh/files/ReMate2.tmplugin.zip)) — this is a third-party plug-in and not officially supported.

None of these workarounds are silver bullets, for a real fix you’ll have to wait for TextMate 2.0 (no ETA given).

[1]: http://comox.textdrive.com/pipermail/textmate/attachments/20050508/4b88c9e6/build_project.obj

[Filter unwanted files]: http://macromates.com/textmate/manual/working_with_multiple_files#filtering_unwanted_files

- - -

If you want to open the file only for reading, you can word wrap it prior to opening it by running the following from Terminal:

    fold -sw80 «file»|mate

This will word-wrap it to 80 columns and pipe the result to TextMate (assumes that you have installed the `mate` helper command, see *Terminal Usage* in the Help menu for that).

For XML you can also use (to pretty-print the XML, rather than word wrap it):

    xmllint --format [--html] «file»|mate

Here give `--html` if the file is actually HTML.

- - -

See also [Find in Project](FindInProject)

Retrieved from http://wiki.macromates.com/Troubleshooting/Beachball
Page last modified on May 02, 2008, at 19:12 UTC