[MonoDevelop] C/C++ Code Completion
m.j.hutchinson at gmail.com
Thu Aug 27 18:01:59 EDT 2009
On Thu, Aug 27, 2009 at 5:31 AM, Peter von Konigsmark<petervk at tpg.com.au> wrote:
> I'm new to monodevelop and I really like what I see! I'm using it for C/C++
> development, and I dont seem to be able to get code completion working. It
> seems to work for system calls (printf etc) but not for local/project
> functions or variables.
> I did a bit of searching and it seems this used to work, but maybe not
> supported for C/C++ in 2.0? Can someone confirm this or tell me what I'm
> doing wrong?
The C/C++ completion just uses ctags, and doesn't have a resolver for
resolving the types of locals, which really limits things like
instance member completion. AFAIK completion for C-style functions and
structs, C++ type names, and static C++ members should generally work.
The reliability has been improved a fair bit in MD trunk - especially
for system libs - so you might want to try that.
Check the "class pad" to see what ctags has been able to parse from your files.
More information about the Monodevelop-list