On Fri, 30 Jan 2015 08:58:49 -0800 (PST)
"Edward K. Ream" <edream...@gmail.com> wrote:

> **Important**:  Leo does *exactly* the same thing, but only for
> certain known values, like c and g, and for certain "standard"
> conventional names, such as s, s1 and s2 standing for strings, etc.

Leo autocompletion also works with the vs-eval command.

I have vs-eval bound to Alt-A, so I type

import pipes
pipes.<Ctrl-Space>

and the Log says "No completions"

but if I select the import line and hit Alt-A, or just put the cursor
at the start of the line and hit Alt-A twice, then
pipes.<Ctrl-Space> gives me completion for that module.

vs-last and vs-last-pretty will put the output of the last vs-eval into
the body.  

vs-eval, vs-last and vs-last-pretty are in the valuespace
plugin, but not related to the mind bending complexity (just kidding,
Ville ;-) of the rest of that module, rather they're there because it
made sense to do their evaluations in the same namespace that
valuespace uses.  And it saved making another plugin for some fairly
simple commands, although I thing vs-eval has a bunch of heuristics to
work out what vs-last-* should show for multi-line code.

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 leo-editor+unsubscr...@googlegroups.com.
To post to this group, send email to leo-editor@googlegroups.com.
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.

Reply via email to