On Sun, 27 Mar 2016 05:39:44 -0500
"Edward K. Ream" <[email protected]> wrote:

> I'm starting to get the feeling that might be possible to do
> auto-completion​ ​using live Python objects.

So in what seems to be a completely coincidental way, that also relates
to valuespace - some time ago I tweaked the autocomplete code to look
at objects in the c.vs namespace.  So if you type:

import csv

reader = csv.<Ctrl-Space>

you get "No completions"

but if you select the "import csv" text and run `vs-eval`, then you'll
get completions for "reader = csv.<Ctrl-Space>".

So in that sense at least Leo already does autocomplete on live objects,
all I did was add c.vs to the list it searches.

Cheers -Terry

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.

Reply via email to