[TxMt] Re: enumerate all files in project

Rob McBroom textmate at skurfer.com
Mon Mar 2 03:33:50 UTC 2009

On 2009-Mar-1, at 9:59 PM, Robert J. Carr wrote:

> But your project directory doesn't necessarily have anything to do
> with the files in your project.

Ah, sorry. Most of my projects are directories and not collections of  
arbitrary files, so I forget about that option sometimes.

> The best I could come up with is to inspect your tmproj file  
> (TM_PROJECT_FILEPATH) as that lists (in xml/plist) the relative  
> folders/files you've added to your project.

That's probably what I'd do, but hopefully someone will chime in if  
there's a better way.

> I guess my question is ... is the contents of this flle already parsed
> and made available somehow or would I need to parse it again?

Again, I'm not an authority on this, but I've never known any  
information of this sort to be made available as anything other than a  
TM_ variable, so if it's not there…

>> Not sure, short of exploring the directory manually, but you can
>> always see what variables are set by running the "Show TM_*  
>> Variables"
>> command in the "Bundle Development" bundle. Maybe you already knew  
>> that.
> I was looking for something that described what is available at a high
> level.  I'm fine with digging around. :)

That would be nice, but if it exists, I can't find it.

Rob McBroom

Because it screws up the order in which people normally read text.

Original message:

> Why is it bad to top-post your reply?

More information about the textmate mailing list