I have a my_class with a methods
Writing my_class. or my_class-> I have a window with the members of it.
If I create a vector<my_class> I have not this help. ( autocompletion offers nothing)
A tip, trick, macro, etc to help me ?
Thanks
I have a my_class with a methods
Writing my_class. or my_class-> I have a window with the members of it.
If I create a vector<my_class> I have not this help. ( autocompletion offers nothing)
A tip, trick, macro, etc to help me ?
Thanks
Check if vector header is indexed. What's your editor ?
Qt creator.
A vector of custom estructure offers me only the methods for vector(push_back, etc )
( and besides, I have to declare it as vector<.... not std::vector, in this last case nor autocompletion for vector is offerd )
Thanks
Looks like I have the same issue with my QtCreator installation. I don't know how to help you, for "serious" programming I'm using eclipse anyway. Maybe try updating QtCreator to new version (if there is any) ?
I'm not having such problems, autocompletion works fine for me with Qt Creator 2.2.
Hello I'm here again.
I loose many time when I want to have autocompletion info for vectors of custom clasess.
Stampede, whats the meaning of "have you vector header indexed"??
Thanks
@tonnot: I mean that indexer directories should contain path to this file, in order to parse it for symbols. I'm not sure how to add indexer path in QtCreator, as I'm using eclipse most of the time.
But if you can use autocompletion for vector methods, it means that indexer parsed this file.
And it looks like wysota does not have such issues with Qt Creator and vector autocompletion, for me it works the same way as you've described in first and third post too.
The problem does not happen if you use QVector only with STL (or STD I dont know how to name them )
Can this information be usefull?
Thanks
Last edited by tonnot; 12th July 2011 at 16:46.
Bookmarks