[TxMt] Templates
Brett Terpstra
brett at circlesixdesign.com
Fri Nov 10 11:47:49 UTC 2006
Weird. Closing the bundle editor made it work. I had previously
tried just switching to a different command and back but now it seems
to be working fine.
Now is there any way to take input from a user before creating the
template? I'd like to have it ask for:
Project Name
Client Name
image file base name
It names about 8 parts of the file based on this information and I
currently have a command set to do search and replace after opening
the file. Just wondering if there's an easier way.
Thanks,
Brett
On Nov 10, 2006, at 5:36 AM, Brett Terpstra wrote:
> Did that. I recreated everything exactly, down to double checking
> the perl command that substitutes the variables in the template.
> If I just remove the perl command I can get it to put up a blank
> file (in the right format) but I can't get it to read it through
> the perl command. I'm trying a few things right now, but is there
> any way to debug?
>
> Thanks,
> Brett
>
> On Nov 10, 2006, at 5:14 AM, Allan Odgaard wrote:
>
>> On 10. Nov 2006, at 11:04, Brett Terpstra wrote:
>>
>>> I had my first go at creating a template last night. It was
>>> fairly miserable. Even just using what TextMate creates
>>> automatically resulted in a "dead" template that does nothing
>>> upon hitting test or the assigned key combination. I copied an
>>> existing template and made modifications to no avail. Is there a
>>> tutorial that goes beyond the docs or is there something I'm
>>> missing?
>>
>> After creating the template, you also need to select “New Template
>> File” with the template selected -- ideally these two operations
>> should of course be grouped.
>>
>>
>> _____________________________________________________________________
>> _
>> For new threads USE THIS: textmate at lists.macromates.com
>> (threading gets destroyed and the universe will collapse if you
>> don't)
>> http://lists.macromates.com/mailman/listinfo/textmate
>
>
> ______________________________________________________________________
> For new threads USE THIS: textmate at lists.macromates.com
> (threading gets destroyed and the universe will collapse if you don't)
> http://lists.macromates.com/mailman/listinfo/textmate
More information about the textmate
mailing list