[Qt-creator] Autocomplete oddities

Eike Ziller Eike.Ziller at qt.io
Wed May 18 14:27:32 CEST 2016


> On May 18, 2016, at 2:21 PM, Murphy, Sean <smurphy at walbro.com> wrote:
> 
> > > Issue #1
> > > When typing the example line, I type up to the first ‘&’ and get the
> > following. I know at some point in the past, as soon as I’d type the ‘&’
> > autocomplete would suggest that I want to type “MainWindow” next, but
> > that no longer happens.
> > 
> > I think there is a difference how this currently is handled in the completion
> > for the built-in code model and the Clang code model.
> > Please note that in 4.0 Qt Creator automatically uses the Clang code model if
> > the plugin is turned on (it is off by default), can you please check if you have,
> > and if going back to built-in restores the behavior that you are used to?
>  
> I think the ClangCodeModel plugin is off?

Looks like it.

> I’ve never intentionally enabled it.
> <image001.png>
>  
> > > <image001.png>
> > >
> > > Issue #2:
> > > From the previous spot I type out “MainWindow::” by hand. After typing
> > the second ‘:’ I get the popup of signal suggestions, but note how the item
> > text in the list isn’t highlighted. You can see that the icon for the destroyed
> > signal has a slight color difference (it’s a little more purple).
> > > <image002.png>
> > 
> > Seems to be similar to https://bugreports.qt.io/browse/QTCREATORBUG-
> > 16218
>  
> It does seem similar to this, I think. But in my case this issue fixes itself temporarily after restarting Creator,
> but then after some amount of usage within a session eventually starts happening again.
>  
> > I wonder if this is related to https://bugreports.qt.io/browse/QTBUG-52230
> > though.

You can check with a recent 4.0.1 snapshot, which is based on a Qt 5.6.1 prebuild, which should have the fix for QTBUG-52230
http://download.qt.io/snapshots/qtcreator/4.0.1/

Br, Eike

>  
> _______________________________________________
> Qt-creator mailing list
> Qt-creator at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/qt-creator

-- 
Eike Ziller
Principal Software Engineer

The Qt Company GmbH
Rudower Chaussee 13
D-12489 Berlin
eike.ziller at qt.io
+123 45 6789012
http://qt.io
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