[Qt-creator] qt-creators c/c++ parsing
erik.verbruggen at nokia.com
erik.verbruggen at nokia.com
Fri May 21 10:28:18 CEST 2010
Am May 21, 2010 um 1:20 schrieb ext Jefferson Bandeira:
> Only times I see that the auto-completer fails is when I'm in auto-complete menu and i Alt+Tab out of creators windows, that usually turns creator auto-complete off until i minimize the window and maximize it again.. Weird as hell. Could that be your case?
This would be a focus/event/UI bug. Did you report it? If not, please do so.
> 2010/5/20 Daniel Teske <daniel.teske at nokia.com>
> On Wednesday 19 May 2010 22:31:08 ext Campbell Barton wrote:
> > Hi, I have been using qt-creator daily for 4 months or so on 64bit Linux.
> >
> > Probably the most important problem I had so far is C/C++ parser,
> > sometimes auto-compleate works, sometimes not, sometimes Ctrl+Clicking
> > on a function is the same.
> > But this is generally predictable, so it will fail in the same places each
> > run. I have tried rebuilding the code model and tested on the latest beta
> > as well as stable.
> >
> > My guess is that the source code parser is failing in some cases
> > (~3million+ LOC), but I don't get any feedback from qt-creator.
> >
> > Is there some way I can tell what the parser is doing?
> Not directly. You can obviously see all the symbols in the locator, and
> hovering over symbols should show you a tooltip.
>
> Try to create small examples of failures and report bugs to
> http://bugreports.qt.nokia.com If your code is open source, we might be able
> to fix it without a minimal example.
>
> Also if you can try the latest master, that one might have fixed your issue.
One of the problems we have, and which we are fixing in master, is completion on template instantiations. For example, QStringList will complete, but when a QString is returned by a method returning the template type (like the at() method), it won't complete on that. Example:
QStringList l;
l.<complete> // works
l.at(0).<complete> // doesn't work
Like I said, we're working on it, it won't be in 2.0 (or 1.x for that matter).
Regards,
Erik.
--
Erik Verbruggen
Software Engineer
Nokia, Qt Development Frameworks
Nokia gate5 GmbH
Firmensitz: Invalidenstr. 117, 10115 Berlin, Germany
Registergericht: Amtsgericht Charlottenburg, Berlin: HRB 106443B
Umsatzsteueridentifikationsnummer: DE 812 845 193
Geschäftsführer: Dr. Michael Halbherr, Karim Tähtivuori
More information about the Qt-creator-old
mailing list