Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Indexer enhancement entry

Fabian Cenedese wrote:

As promised, I have started a bugzilla entry to capture ideas we have on how to improve the performance of the indexer. We've made some big improvements in 3.0 with the reintroduction of the ctags indexer and introduction of the much better DOM parser for gathering cross references in the full indexer. We have some thoughts on how to make the full indexer even better and hopefully we can energize members of the community to try some of them out.

Just out of curiosity: I have also looked at ctags for some "code help"
functionality and I found that it's missing some important things like
type of variables, return type of functions... (at least last time I looked
and no other release since). So the ctags info would not be enough for
code completion. Do you use some own text parsing for the missing
info? Or is the ctags info combined with the DOM output? Or anything
else?

No, when using the search engine, we only do a simple text prefix lookup based on the identifier fragment leading to the cursor. There's nothing smart about it and you will get completions that don't belong. Certainly room for improvement in the future and maybe by putting more info into the index as you suggest, we can get there.

Thanks,
Doug

Thanks

bye  Fabi


_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev



--
Doug Schaefer, Senior Software Developer
IBM Rational Software, Ottawa Lab
Kanata, Ontario, Canada



Back to the top