I have a saved project. Inside my project directory in my HD are numerous files and folder like so:
Project/image.gif Project/layout/ Project/index.php
etc etc
There's 1 folder inside Project/ that I do not want to be included in my text mate project because this folder contains about 600 folders with thousands images inside. When it's included in my project TextMate takes ages to open it. So I delete the folder reference from my project within textmate, it goes away, great.
The problem is, even after a save the next time I open the saved project it automatically gets added back into my propject, I don't want it to and thus TextMate takes ages opening again.
What can I do?
On 21. Jul 2007, at 15:57, markwm wrote:
[...] There's 1 folder inside Project/ that I do not want to be included [...]
What can I do?
http://macromates.com/textmate/manual/ working_with_multiple_files#filtering_unwanted_files
I have the same issue...
On 21 Jul 2007, at 18:08, Allan Odgaard wrote:
http://macromates.com/textmate/manual/ working_with_multiple_files#filtering_unwanted_files
"The patterns are only used when creating new folder references. For existing folder references one can select the folder reference in the project drawer and use the info button (a circled letter I) in the project drawer to edit the patterns"
The info button becomes greyed out when i select a folder reference in the project drawer, and when I don't have anything selected the info button brings up the Project specific shell variables window... Is there a variable I can add to the project for the file pattern?
Also, I don't get the existing folder references part... Under what conditions would the folder not be included in the project? I've added the following before the closing parenthesis in the file reference:
|.*/images\r
to exclude all /images subfolders (as well as other try-before-you- think variations of the regex), but they don't get excluded when i drag a directory to textmate.. am I missing something else?