[TxMt] Please help with Project title $TM_ variable

Charilaos Skiadas skiadas at hanover.edu
Fri Jan 26 15:22:52 UTC 2007


On Jan 26, 2007, at 9:54 AM, Web Revolution wrote:

> Yes, I close the bundle editor and also click reload bundles to be  
> sure, but it doesn't work either.
>
> As I created many template files, every template header must have  
> certain information, including the project name. Creating a snippet  
> I have to call the snippet every time I do create a new template  
> instead of having the project name alraedy there...

I just never use templates to create new files ;) When you use a  
template, you have to select the command from the menu and things. I  
would find it so much simpler to just press shift-cmd-N, followed by  
running the snippet via another shortcut. YMMV.

If you really need to create many files, you might want to consider  
simply a shell/ruby/python script that does that all at once.  
Anything else is really inefficient. But since I don't know your  
particular needs I can't really comment on that.

Haris





More information about the textmate mailing list