This is not a complete auto-complete solution (unavoidable pun). It doesn't 
do two things, it isn't automatic (and so will likely be overlooked) and it 
doesn't handle local variables or local objects. Unless I just don't have 
enough experience with it, it seems like it's geared toward modules. If 
work is going to be put towards autocompletion then I recommend considering 
Jedi.

On Sunday, March 27, 2016 at 10:08:18 AM UTC-4, Terry Brown wrote:
>
> On Sun, 27 Mar 2016 05:39:44 -0500 
> "Edward K. Ream" <[email protected] <javascript:>> 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