Code completion in KDEStudio

Richard Dale Richard_Dale at tipitina.demon.co.uk
Wed Apr 11 14:08:04 UTC 2001


On Wed, 11 Apr 2001, Falk wrote:
> Richard Dale wrote:
> > ...
> > -- Richard
> codecompletion.h/cpp is not sufficient.
> It needs their class parser as well (the subdir parser) because that
> parser builds a QDOM tree which will be processed by the code completion
> stuff.
It doesn't depend on QDOM, that's just the equivalent of the KDevelop class
store (but quite a good idea to use QDOM though?). The clever part is they use
the gcc compiler to extract the classname of the variable in the statement you
are trying to complete, because it's quite hard otherwise. 

I'm not sure why the .ii file needs to be parsed and used. I would have
thought it would have been ok to assume that the class tree was up to date, and
just display class details for the name extracted. 

The main thing to be implemented is the modal class browsing widget - we would
have to adapt the KDevelop class tool perhaps.

-- Richard

-
to unsubscribe from this list send an email to kdevelop-devel-request at kdevelop.org with the following body:
unsubscribe »your-email-address«



More information about the KDevelop-devel mailing list