Code completion for STD lib C++

Claudiu ANGHEL claudiu.anghel at skynet.be
Tue Apr 12 20:19:27 BST 2005


Sorry for misunderstanding, I was thinking that is an old "bug".
To my knowledge in kdevelop was supposed to be included a new C++ parser 
used for autocompletion and error detection in editor.
So I don't know if it was included and this is a missing feature or is a 
bug of the old parser.

guban wrote:

>Thanks for your answer, but I don't understand what you want to say.
>
>Of course, I already added C++ include directory to persistent classes. My 
>problem is that code completion only works when I add std:: prefix.
>
>El Martes, 12 de Abril de 2005 20:22, Claudiu ANGHEL escribió:
>  
>
>>http://www.kdevelop.org/mediawiki/index.php/FAQ#Code_Completion_FAQs
>>Maybe somebody, someday will put the "Add Persistant Class" for
>>standardard libraries as a default for a c++ project (before the new
>>more complete and faster c++ parser will be in place and make the option
>>obsolete).
>>
>>guban wrote:
>>    
>>
>>>Hi all!
>>>
>>>I am working on a pure C++ application using the STL. My problem is code
>>>completion in STD statements: it does't work when I don't use the std::
>>>prefix. For example:
>>>
>>>// Case 1
>>>#include <vector>
>>>using namespace std;
>>>int main(int argc, char** argv)
>>>{
>>>	std::vector<int> v;
>>>	v.        // <-- Code completion does work
>>>}
>>>
>>>// Case 2
>>>#include <vector>
>>>using namespace std;
>>>int main(int argc, char** argv)
>>>{
>>>	vector<int> v;
>>>	v.        // <-- Code completion doesn't work
>>>}
>>>
>>>I use Kdevelop 3.2 on a Debian/Sid and code completion did work in earlier
>>>versions (Kdevelop 3.0.x). So, any idea?
>>>      
>>>
>>-
>>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