gideon c++ code completion

Bernd Gehrmann Bernd-Gehrmann at gmx.de
Wed Jul 24 19:36:02 UTC 2002


On Sunday 21 July 2002 09:30, you wrote:

> Should the project source files somehow be registered for codecompletion
> somewhere in the gideon framework?

You have to implement KDevProject::allFiles() to return a list of all
source files (including header files). When files are added, the signal
addedFileToProject() should be emitted.

> In qmake projects you can use scopes for making platform or debug specific
> versions of sourcefiles - this meens that the same class can be declared
> more than ones to saticefy for example platform differences. How does the
> c++ parser handle such a situation?

When the parser encounters a class several times, the last one "wins".

Bernd.




More information about the KDevelop-devel mailing list