[Qt-creator] Tab-Completion in STL containers
roberto.raggi at nokia.com
roberto.raggi at nokia.com
Thu Oct 15 22:38:36 CEST 2009
Hi Frank,
There are a few things that we haven't yet implemented in our C++
front-end. One of the missing functionality is full support for
template instantiation. And that's the reason why Creator's completion
doesn't play nice with STL containers.
I'm working on these missing bits of the C++ front-end and I'm
positive that full template instantiation will be ready for 1.3 (Well,
at least I hope :)
ciao robe
On Oct 15, 2009, at 9:47 PM, ext Frank Siegert wrote:
> Dear Creators,
>
> I don't seem to be able to get QtCreator 1.3beta on Linux with gcc
> 4.3 to
> complete code that involves objects in STL containers. Imagine a
> simple
>
> #include <vector>
> #include <string>
>
> std::vector<std::string> words;
> [...]
> words[0].<TAB>
>
> I would expect to get completion for the members of string, but
> Creator
> doesn't offer any completion at all. I am attaching a very simple
> example
> project which was created by importing as generic Makefile based
> project.
> Hitting F2 on <string> takes me to the STL header file just fine, by
> the
> way.
>
> Do you have any idea what is going wrong here?
>
> Thanks,
> Frank
>
> <foobar.tar.gz><ATT00001..txt>
More information about the Qt-creator-old
mailing list