Code completion for STD lib C++

guban 417516 at celes.unizar.es
Tue Apr 12 19:55:48 BST 2005


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«

-- 
guban

-
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