On Thu, Sep 8, 2011 at 10:24 AM, Terry Brown <[email protected]> wrote:
> Re the Blender thing, my line of thought was there should be some way > of priming Leo's autocompletion system with the Blender API, which I > though might involve having ctags parse/introspect the blender python > modules. That was my idea as well. > Putting aside what's finished and what's not, is that the way Leo auto > completion for arbitrary python APIs might work? Realistic goal / not? It's completely realistic. Iirc, enabling qcompleter completion uses whatever ctags files exist. It may be useful to hook into blender/modules/bpy_types.py and blender/modules/bpy/ops.py. Both are called during startup, so conceivably one or another or both these files could set up data structures for Leo's autocompletion. See get_leo_namespace for the way the present autocompleter inits: Code-->Gui base classes-->@file leoKeys.py-->class AutoCompleterClass-->Helpers-->get_leo_namespace Edward -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/leo-editor?hl=en.
