[MonoDevelop] How can I custom ctags

Michael Hutchinson m.j.hutchinson at gmail.com
Thu Oct 2 19:58:50 EDT 2008


On Wed, Oct 1, 2008 at 3:29 AM, william lee <welemon at gmail.com> wrote:
> Hi MonoDevelopers,
>     I start to use MD to program gtk+ app in C. For some policy reasons, we
> can't use C#.
>     Just found the auto-complete and para-list is pretty bad for C language
> in MD, it can't auto-complete the gtk+ API functions or even auto-complete
> my local variable names.
>
>     I remember in MD 1.0 release, it is said MD use ctags to provide C/C++
> auto-complete, para-list etc intelligense feature, my question is how can I
> enhance it?
>    Is there any way I can include gtk+-2.0's header files tag into project?

Open Edit->Preferences, go to Other->C/C++, then check "Parse system
tags" and "Parse local variables".

This code has a few problems which is why it isn't enabled by default.

Sadly we don't yet have a resolver for locals, so it can't complete
instance members. Eventually we'd like to move to a full C++ parser
for code completion, but this relies on someone contributing one ;-)

-- 
Michael Hutchinson
http://mjhutchinson.com


More information about the Monodevelop-list mailing list