Re: [code] Silly little templating snippets system

From: Michael Richter <ttmrichter.att.gmail.com>
Date: Sun, 10 Jan 2016 00:38:38 +0800

Thanks for sharing Textadept. ;)

On 10 January 2016 at 00:31, Mitchell <m.att.foicica.com> wrote:

> Hi Michael,
>
> On Sun, 10 Jan 2016, Michael Richter wrote:
>
> I've come up with a really stupid little templating-based snippets system
>> for Textadept. It works like this:
>>
>> [snip]
>>
>> Motivation:
>>
>> - I like Textadept's snippets a lot (simple, yet powerful), but I really
>> don't like constantly fiddling with the Lua code in init.lua. Too many
>> chances for totally screwing up my configuration.
>> - Some of my "snippets" are pretty damned big. My Rexx module
>> "snippet", for example, is 204 lines of error handling boilerplate.
>> When
>> this was in my init.lua it was a bear to navigate and find the specific
>> snippets I was looking for.
>> - It's easier to share snippets that aren't married to your
>> idiosyncratic init.lua organization.
>>
>
> Thanks for sharing your idea! This idea may find its way into a future
> release, as I like the idea of having the option to split snippets from Lua
> code into the filesystem.
>
> Cheers,
> Mitchell
> --
> You are subscribed to code.att.foicica.com.
> To change subscription settings, send an e-mail to code+help.att.foicica.com.
> To unsubscribe, send an e-mail to code+unsubscribe.att.foicica.com.
>
>

-- 
"Perhaps people don't believe this, but throughout all of the discussions
of entering China our focus has really been what's best for the Chinese
people. It's not been about our revenue or profit or whatnot."
--Sergey Brin, demonstrating the emptiness of the "don't be evil" mantra.
-- 
You are subscribed to code.att.foicica.com.
To change subscription settings, send an e-mail to code+help.att.foicica.com.
To unsubscribe, send an e-mail to code+unsubscribe.att.foicica.com.
Received on Sat 09 Jan 2016 - 11:38:38 EST

This archive was generated by hypermail 2.2.0 : Sun 10 Jan 2016 - 06:34:53 EST