gideon c++ code completion
Jakob Simon-Gaarde
jsgaarde at tdcspace.dk
Sun Jul 21 13:45:06 UTC 2002
> to check if codecompletion works for you, try the following: let the kde-
> (or qt-) headers preparse and then type KMessageBox:: that should work out
> of the box.
This did not work - Here is what I did:
"Project Options"->"C++ specific"->"Class Store" -
* checked "Enable pre-parsing"
* added path <my QT directory/include>
(I could see that all the qt headers where parsed in the statusbar)
* I then exited gideon and entered it again (just in case)
* wrote QString:: (nothing happened)
> the "normal" codecompletion (typing a dot or ->) has the following problem:
> all local variables have to be recognized within the method's body - so
> first we have to know where a method starts. i use a regexp for that but it
> unfortunately matches static method calls like the KMessageBox::show( );
> and i haven't been able to find the right expression for: last char either
> "{" or no char (see CppCodeCompletion::createTmpFileForParser for details).
>
> anyway we have 2 versions of codecompletion in gideon: roberto's approach
> (don't know if it works, but it should) and my one. so when the exams are
> over i'm going to extend it...
--
Any other suggestions?
/ Jakob Simon-Gaarde
More information about the KDevelop-devel
mailing list