[Qt-creator] Deteriorating quality of the code completion in Qt Creator

Ziller Eike Eike.Ziller at digia.com
Mon May 26 08:08:18 CEST 2014


On May 25, 2014, at 7:38 PM, Steve Atkins <steve at blighty.com> wrote:

> 
> On May 25, 2014, at 10:24 AM, Henry Skoglund <fromqt at tungware.se> wrote:
> 
>> Hi,
>> 
>> maybe I'm stating the obvious here, but for me I took a while to realize 
>> that the code completion (and F1 context-sensitive help) in Qt Creator 
>> works *much better* if the code before, for example the line above the 
>> current line, consists of syntactically correct C++ code.
> 
> Also that the qmake file is well-formed. It's possible to have .pro files
> (I have one that dates from the Qt3 era) that will build perfectly with
> qmake, but which Creator can't follow well enough to find the include files.
> 
> If there are parser problems, check the #include statements in the file,
> hover over them to make sure Creator has found them.
> 
> (It would be nice to have some way to see parser errors from
> within Creator, though, rather than having to intuit them from
> behaviour and env-variable triggered logging).

Hi,
we have added Tools > C++ > Inspect C++ Code Model in 3.1.

Br, Eike

> Cheers,
>  Steve
> 
>> 
>> Rgrds Henry
>> 
>> 
>> On 2014-05-25 15:43, Orgad Shaneh wrote:
>>> On Sun, May 25, 2014 at 4:31 PM, Tomasz Siekierda <sierdzio at gmail.com
>>> <mailto:sierdzio at gmail.com>> wrote:
>>> 
>>>   Hi,
>>> 
>>>   please see the nudge I've got from Caravanio:
>>>   http://qt-project.org/forums/viewthread/43068/.
>>> 
>>>   There are numerous complaints about the quality of code completion in
>>>   Qt Creator. I find myself occasionally being hit by this, too (not at
>>>   the moment, as I have just formatted my drive and everything is fresh
>>>   with just one version of Qt Creator and Qt compiled; this is likely to
>>>   change very soon ;-)). Most people seem to have noticed the quality
>>>   dropping around the time QtC 2.7 came out.
>>> 
>>>   Please do something about this, it really is more important than new
>>>   features - code completion is probably being used more than anything
>>>   else. I may find some time to help, but I don't know the code of Qt
>>>   Creator at all, so I would need some pointers on where to start.
>>> 
>>>   Cheers,
>>>   Tom
>>>   _______________________________________________
>>>   Qt-creator mailing list
>>>   Qt-creator at qt-project.org <mailto:Qt-creator at qt-project.org>
>>>   http://lists.qt-project.org/mailman/listinfo/qt-creator
>>> 
>>> 
>>> Hello,
>>> 
>>> Can you please provide concrete examples for *regressions* since 2.7?
>>> 
>>> I'm aware of completion for STL containers not working properly, but it
>>> never had.
>>> 
>>> From my own experience, completion (and other C++ features) is
>>> *improving* with each version.
>>> 
>>> If you have the time to dive into this bug, it will be highly
>>> appreciated. It's not an easy one though...
>>> 
>>> - Orgad
>>> 
>>> 
>>> _______________________________________________
>>> Qt-creator mailing list
>>> Qt-creator at qt-project.org
>>> http://lists.qt-project.org/mailman/listinfo/qt-creator
>>> 
>> 
>> 
>> _______________________________________________
>> Qt-creator mailing list
>> Qt-creator at qt-project.org
>> http://lists.qt-project.org/mailman/listinfo/qt-creator
> 
> _______________________________________________
> Qt-creator mailing list
> Qt-creator at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/qt-creator

-- 
Eike Ziller, Senior Software Engineer - Digia, Qt
 
Digia Germany GmbH, Rudower Chaussee 13, D-12489 Berlin
Geschäftsführer: Mika Pälsi, Juha Varelius, Tuula Haataja
Sitz der Gesellschaft: Berlin, Registergericht: Amtsgericht Charlottenburg, HRB 144331 B




More information about the Qt-creator mailing list