Re: C Language Auto Complete
Todd Whiteman <[email protected]> Thu, 03 Feb 2011 15:42:47 -0800
| Newsgroups | gmane.comp.ide.komodo.general |
|---|---|
| Message-ID | <[email protected]> |
On 11-01-24 10:37 AM, Michael A. Brooke wrote: > Can someone help me understand how I could add 'C' auto complete API to > KOMODO. I found the CTAGS add-on. But I was just wondering if there was > something I could use for my 'C' programs. Hi Michael, For any code intelligence in Komodo, you'll need an extension that provides and implements the codeintel APIs. You can use the Komodo extension "koext" tool to help setup such a language extension: koext startext "C_Helper" cd C koext startcodeintel "C" vi pylib/lang_c.py Then you'd start by adding the "trg_from_pos" and "async_eval_at_trg" methods, see the Maya/Mel addon for an example of this: http://svn.openkomodo.com/openkomodo/view/addons/maya/pylib/lang_mel.py And of course, when/if you get stuck, just ask us for help :) Cheers, Todd -- Todd Whiteman Komodo Tech Lead ActiveState, The Dynamic Language Experts http://www.activestate.com Get insights on Open Source and Dynamic Languages at www.activestate.com/blog _______________________________________________ Komodo-discuss mailing list [email protected] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs Other options: http://listserv.ActiveState.com/mailman/listinfo/Komodo-discuss