[Qt-creator] Tab-Completion in STL containers

Coda Highland coda at bobandgeorge.com
Thu Oct 15 22:07:14 CEST 2009


Does words.front().<TAB> work? That would help narrow it down.

/s/ Adam

On Thu, Oct 15, 2009 at 2:47 PM, Frank Siegert
<frank.siegert at durham.ac.uk> 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
>
>
> _______________________________________________
> Qt-creator mailing list
> Qt-creator at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-creator
>
>




More information about the Qt-creator-old mailing list