[Qt-creator] Code completion issues

Mateusz Adamczyk matek_a at tlen.pl
Sat Jun 13 11:40:41 CEST 2009


Hello!

Firstly, I want to say, that qtcreator is the most pretty ide I've ever  
seen (comparing to VS's, NetBeans, Ecclipse, KDevelop, Code::Blocks,...).
What's more it has really great code completion! Most of the time it works  
really fast and accurate. But there are some issues. Currently, I'm  
working on console app (without qt) which uses boost::spirit v.2 and  
boost::phoenix v.2. When I code attached file (I've inserted class  
definition instead of header file) code completion gets awfully slow.  
Hitting ':' twice I've got to wait about 30s. for response. I could write  
line: "using ::boost::spirit::float_;" and wait a minute before ide  
responds (in that time ide tried to display code completion list a few  
times...). I know, that spirit2 isn't jet optimized for compilation speed,  
but maybe there is a way to speed up qtcreator's code completion (or to  
disable it for certain files or manually stoping it with some keyboard  
shorcut like alt+space)?

Second thing, is that code completion shows namespace's name. For instance  
when I've got:
namespace A {
	// some classes or functions (or even an empty namespace)...
	// But no "namespace A"!
}
and write: "A::" code completion suggest that there is "namespace A" in A!  
Is it a bug or a feature?

And one more idea for code completion. It would be nice, if user can  
provide ide paths for header files. And when writing "#include <bo" and  
hitting ctrl+space can give list of header files, which paths starts with  
"<one of given paths>/bo"...

Regards,
Mateusz
-------------- next part --------------
A non-text attachment was scrubbed...
Name: graf_parser.cpp
Type: application/octet-stream
Size: 6935 bytes
Desc: not available
Url : http://lists.qt-project.org/pipermail/qt-creator-old/attachments/20090613/538904cd/attachment.obj 


More information about the Qt-creator-old mailing list