lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Sun, 17 Jan 2010 19:34:54 +0200
steve donovan <steve.j.donovan@gmail.com> wrote:

> On Sun, Jan 17, 2010 at 7:27 PM, Rob Kendrick <rjek@rjek.com> wrote:
> > And even for global function calls, there's no way for the editor to
> > know what would be available, or even would constitutes a good
> > guess.  
> 
> In theory this is true, in practice it's useful to assume that table.*
> is followed by the contents of the standard 'table' module.  Even a
> fairly language-agnostic editor for SciTE (which BTW works well on
> Linux) can give you that, complete with tooltips, if the correct .api
> file is loaded.

Sure, but it's not possible to be useful with method calls, for
example.  (Because the editor can't know the type of the variable
before the colon, as well as many other reasons.)

For simple global functions living in tables, then yes, you might be
able to do something that works most of the time.  But you can't
auto-generate these .api files either, I bet.

> What Bash are we talking about here? That $ prompt of possibilities?

Sure, the shell.

B.