Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

I'd like to create a TextMate project that consists of all files in a particular folder, with the added stipulation that as files are added to (or removed from) that folder that they be added/removed from the TextMate project.

Is this possible?

I'd love to have a TextMate project that can mirror the list of files being worked with by the folder storing Elements files...

share|improve this question
    
Instead of drag n droppin, I find really useful the Open in Textmate Finder toolbar icon. Updating files should work either way though.. –  nuc Mar 29 '11 at 7:32
add comment

4 Answers

up vote 4 down vote accepted

Isn't it how it's working already?

I just tried drag'n'dropping a folder on the Textmate icon, it opens in "project mode", then I added a file to the folder, which Textmate did too, when gaining focus. And deleting the file and focusing Textmate made it disappear from the project pane.

share|improve this answer
    
+1 Same happens here. –  Martín Marconcini Mar 29 '11 at 12:11
    
Another +1. This is how TextMate projects work for me by default. –  Ian C. Mar 29 '11 at 12:37
add comment

TextMate doesn't do a good job of creating .jar projects for you. I think they are still working on it, but I couldn't find a proper way to make a project using TextMate. Actually, it might be that they do have a feature for making projects, but I just didn't find out.

After you use TextMate to compile and get all the necessary class files, use another code editor like Eclipse or NetBeans and make a project from there. That's what I did...

share|improve this answer
add comment

Inside a TextMate project, there's two "folder"-ish concepts: Groups (beige icon) and Folders (blue icon).

Groups are things that exist only inside the project, and let you organize references to files however you see fit, without affecting the external location of those files.

Folders are references to actual folders. This is what you want. To add a folder reference to an existing project, just drag the folder from the Finder onto the project drawer.

share|improve this answer
add comment

It does indeed work this way, though the project tree can be slow to update if you're adding files on the fly (for example, using "save as...")

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.