Code completion in Kdevelop 3.0.0b1 ?

Becquet Erwan becquet at cnam.fr
Sun Dec 7 18:09:14 GMT 2003


Hi,

I'm very interested by this FAQ ! Could you please give me
the location to find it ?

I understand reading you that there is a step involving Doxygen
to make the code completion working ?

Thanks in advance.
Erwan.

Christopher DeGuise wrote:

>So, I sent the message some what premature.
>
>I found the FAQ on adding items to the PCS.  It appears that you just need to 
>add the STL libraries just like you would your own.  I was missing the 
>doxygen part, and the help for r++ on the command line is nill.
>
>1.  Create the xml doxygen documentation.  I did this by creating a config 
>file for doxygen, using doxywizard, and ran it.
>
>I then used the following command to produce the PCS database.
>
>r++ gxxtestdb /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/include/g++-v3/*  
>-d/home/cdeguise/tmp/gxx/output/xml
>
>(watch line wraps)
>
>The one catch I have noticed though, is problems with namespace resolution.  
>If I use this statement "using namespace std;" or "using namespace 
>std::stack;" in my file, the code completion will not work for this code
>	
>	stack<int> foo;
>	foo. (no lookup here)
>
>But if I have this
>	std::stack<int> foo;
>	foo.(lookup works).
>
>Anyway, I think I saw a bug report on this and it was resolved, so it might be 
>a non issue now.
>
>Thanks for listening.
>
>On Friday 05 December 2003 15:58, you wrote:
>  
>
>>I have another question on code completion.
>>
>>It works for me on my project, QT, and KDE stuff.  I attempted to add a
>>PCS for the C++ headers.  This does not seem to work for me.
>>
>>I added all the headers in the /usr/lib/gcc-lib/..../g++v3 directory (This
>>is the only spot on my system they were) and created the class store.
>>
>>When I include something like <stack>, I do not get any code completion
>>for something like
>>
>>   stack<int> foo;
>>
>>   foo. (nothing shows here, I should see things like push, etc.)
>>
>>Any thoughts on this?  I have poked around the list archive and forums,
>>but everyone always seems to be discussion KDE and QT code completion.
>>
>>Thanks!
>>
>>    
>>
>>>On Friday 05 December 2003 17:57, you wrote:
>>>      
>>>
>>>>I have problems to use code completion in a C++
>>>>project. Is there sthing special to be careful of ?
>>>>Did KDevelop need external progs to do the
>>>>code completion ?
>>>>        
>>>>
>>>No. Just go to project settings, c++ settings, code completion tab and
>>>create the persistant class store.
>>>
>>>      
>>>
>>>>Is the files of the current project automatically
>>>>added for completion or I need to create a PCS
>>>>for project too ?
>>>>        
>>>>
>>>Project files are parsed automatically, no pcs is is needed.
>>>
>>>--
>>>Alexander Dymo
>>>Ukrainian State Maritime Technical University, IT Department
>>>
>>>
>>>-
>>>to unsubscribe from this list send an email to
>>>kdevelop-request at kdevelop.org with the following body: unsubscribe
>>>»your-email-address«
>>>      
>>>
>>-
>>to unsubscribe from this list send an email to
>>kdevelop-request at kdevelop.org with the following body: unsubscribe
>>»your-email-address«
>>    
>>
>
>  
>



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



More information about the KDevelop mailing list