[TxMt] Re: drawer files

Steve King sking at arbor.net
Mon Aug 4 18:17:16 UTC 2008


Allan Odgaard wrote:
> On 17 Jul 2008, at 14:57, Baluta Cristian wrote:
>   
>> Can i order the files from drawer alphabeticaly, but fistly the  
>> folders,
>> then the files? It seems i get lost in the current alphabeticaly  
>> order.
>>     
>
> Not possible. There will (most likely) be some sorting options in the  
> future.
>   

You can do it if you're willing to create a *.tmproj file by hand.  I 
wrote a Perl script to recurse through an SVN source tree, adding only 
files under version control (not object files, or intermediate source 
files created by such things as yacc).  In addition, it orders the 
project with directories first.  I've attached the script, hopefully it 
will be useful to someone. It could easily be modified to add all files, 
rather than only files in SVN. That way it would be almost equivalent to 
simply opening a directory in TextMate.

Note: You run this from the terminal, *outside* of TextMate. It finishes 
by launching TextMate to open the new project file.

Allan: Future sorting options would be very much appreciated!

-- 
Steve King
Sr. Software Engineer
Arbor Networks
+1 734 821 1461
www.arbornetworks.com <http://www.arbornetworks.com/>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20080804/fb1bf027/attachment.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: tmsvn.pl
URL: <http://lists.macromates.com/textmate/attachments/20080804/fb1bf027/attachment.pl>


More information about the textmate mailing list