[TxMt] Re: Questions about Templates
Neil
kngspook at gmail.com
Fri Jul 10 06:21:34 UTC 2009
On Thu, Jul 9, 2009 at 11:52 AM, Allan Odgaard <mailinglist at textmate.org>wrote:
> On 9 Jul 2009, at 02:34, Neil wrote:
>
> > That will help quite a bit, for things like making #include guards
> > in my C
> > bundle. But for some other things, I'd like to be able to share across
> > bundles (eg. copyright notices). I suppose I could do something like
> > that by
> > just putting it in the TM_SUPPORT folder instead of the
> > TM_BUNDLE_SUPPORT?
>
> For the cases you mention, we already have once⇥ (include guard) and
> head⇥ (for the copyright header).
Yeah, I'm aware of those; I just needed slightly different conventions
though. (I did look at how they were done, however, before I made my own.)
>
> As for “moving from templates to snippets” there are two reasons
> for doing so, one is the technical, i.e. templates being amputated
> commands, the other that having multiple small snippets gives you more
> flexibility in your workflow, i.e. in how you can combine these and at
> what time you insert them.
>
>
Yeah, I'm starting to see that.
I'm actually look at Macros now, to see if they might do what I want, as
far as combining Snippets and such...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20090709/5baa82fc/attachment.html>
More information about the textmate
mailing list