Re: [textadept] Re: Poll on language modules

From: mitchell <>
Date: Wed, 2 Mar 2011 13:12:20 -0500 (Eastern Standard Time)


> I personally like the code separation. I think it is much more elegant
> than cramming everything into a single file. However, it is your code.
> If it is easier for you to do it with one file, go ahead.

I liked it a lot too in principle, but once I started using it, I grew
tired of it rather quickly. As Robert mentioned, the "boilerplate" code
for snippets was as much code as snippets themselves and I think that goes
against ta's minimalist scheme.

As noted in the release changes, module code has been condensed into a
single file. There really isn't a whole lot "crammed" into a single file
-- even with the new modules as you'll find.


> On Feb 28, 9:01�am, mitchell <> wrote:
>> On Mon, 28 Feb 2011, Robert wrote:
>>> On Mon, Feb 28, 2011 at 5:04 AM, mitchell <> wrote:
>>>> Hi,
>>>> To be included in the next beta release are language modules for CSS, HTML,
>>>> Ruby, and (possibly) Java with Adeptsenses. I didn't realize that creating
>>>> each language module was such a chore with 4 separate files (init, commands,
>>>> snippets, and adeptsense). I'd like to have all of that condensed into just
>>>> an init.lua file in each directory. You can of course still 'require'
>>>> additional .lua files as you see fit for your language modules.
>>>> Thoughts?
>>>> mitchell
>>> The boilerplate for the snippets module is often as long as the
>>> snippets module itself, so a single file default would definitely
>>> simplify things.
>>> Or was the poll question about the inclusion of more language modules
>>> in the core distribution?
>> The poll was for a single module init.lua file.
>> Thanks for the feedback.
>> mitchell
> --
> You received this message because you are subscribed to the Google Groups "textadept" group.
> To post to this group, send email to
> To unsubscribe from this group, send email to
> For more options, visit this group at

Received on Wed 02 Mar 2011 - 13:12:20 EST

This archive was generated by hypermail 2.2.0 : Thu 08 Mar 2012 - 12:00:34 EST